Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

string fun ?

path:

\\qlikview\qliktech\dashboard

i have used subfield function here like

subfield(path,'\',1)  ?  what is output  ?

i want my subfield fun return has dashboard ?  what to do ?  how to do?

1 Solution

Accepted Solutions
MarcoWedel

subfield(path,'\',1) returns an empty string as there is nothing before the first backslash.

View solution in original post

4 Replies
tresesco
MVP
MVP

Try:

subfield(path,'\',-1)

ashfaq_haseeb
Champion III
Champion III

Try like below

=subfield('\\qlikview\qliktech\dashboard','\',5)

Regards

ASHFAQ

its_anandrjs

Try some of this

This return qlikview

=subfield('\\qlikview\qliktech\dashboard','\',3)

This return qliktech

=subfield('\\qlikview\qliktech\dashboard','\',4)

This return dashboard

=subfield('\\qlikview\qliktech\dashboard','\',5)

Regards

Anand

MarcoWedel

subfield(path,'\',1) returns an empty string as there is nothing before the first backslash.