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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
win_anthony
Partner - Contributor III
Partner - Contributor III

Extracting Right of a Delimiter

I have been playing around with Subfield but it is not resulting in the output that I was expecting. The problem is that the delimiter starts at different indexes as well as the number of characters that I am trying to extract from the string. 

How would you approach this? Below is an example of what I am trying to achieve.

 

AddressExpected Output
123 Main Street, Sydney AUSMain Street, Sydney AUS
50 69650 Ave - Sao Paulo BRZ69650 Ave - Sao Paulo BRZ
ABW45 Frontage Road Chicago IL USAFrontage Road Chicago IL USA
Labels (1)
1 Solution

Accepted Solutions
Saravanan_Desingh

Can u try this?

 

LOAD *, Mid(F1,Index(F1,' ')+1) As F2 INLINE [
F1
123 Main Street, Sydney AUS,
50 69650 Ave - Sao Paulo BRZ, 69650 Ave - Sao Paulo BRZ
ABW45 Frontage Road Chicago IL USA
];

View solution in original post

3 Replies
Saravanan_Desingh

Can u try this?

 

LOAD *, Mid(F1,Index(F1,' ')+1) As F2 INLINE [
F1
123 Main Street, Sydney AUS,
50 69650 Ave - Sao Paulo BRZ, 69650 Ave - Sao Paulo BRZ
ABW45 Frontage Road Chicago IL USA
];

win_anthony
Partner - Contributor III
Partner - Contributor III
Author

Outstanding! Thank you!!! Exactly what I was hoping to achieve! 😃

Saravanan_Desingh

Updated:

LOAD *, Mid(F1,Index(F1&' ',' ')+1) As F2 INLINE [
F1
123 Main Street, Sydney AUS,
50 69650 Ave - Sao Paulo BRZ, 69650 Ave - Sao Paulo BRZ
ABW45 Frontage Road Chicago IL USA
Nothing
];