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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Extract first word without comma

Hello everyone,

I need your help to know how I can extract the first word from a field, without take the comma.

I already use this :

subfield( [Family Description],' ',1) as [Family]

But, depending on the case, it takes me a comma that I don't want..

Thank you for your help !

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try:

PurgeChar(subfield( [Family Description],' ',1), ',')  as [Family]

View solution in original post

3 Replies
tresesco
MVP
MVP

Try:

PurgeChar(subfield( [Family Description],' ',1), ',')  as [Family]

Not applicable
Author

Thanks lot tresesco, it works !

tresesco
MVP
MVP

Muller scored a hat-trick, couple of hours later, I could help MULLER !