Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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?

Labels (1)
1 Solution

Accepted Solutions
MarcoWedel
MVP
MVP

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

View solution in original post

4 Replies
tresB
Champion III
Champion III

Try:

subfield(path,'\',-1)

ashfaq_haseeb
Champion III
Champion III

Try like below

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

Regards

ASHFAQ

its_anandrjs
Champion III
Champion III

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
MVP
MVP

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