Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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​