Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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​