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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
lmit
Creator II
Creator II

Substring in between special characters

Hi All,

I have below in put data

1 DF abc xyz

I want my output as below

DF

i tried substring method but couldn't get correct results. can anyone help me with the solution

Thanks in advance,

lmit

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello lmit,

please try the below solutions:

column.substring(2,4)

or

column.split(" ")[1]

 

Best regards

Aiming

View solution in original post

2 Replies
Anonymous
Not applicable

Hello lmit,

please try the below solutions:

column.substring(2,4)

or

column.split(" ")[1]

 

Best regards

Aiming

lmit
Creator II
Creator II
Author

thanks @Aiming Chen​