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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 !

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try:

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

View solution in original post

3 Replies
tresB
Champion III
Champion III

Try:

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

Not applicable
Author

Thanks lot tresesco, it works !

tresB
Champion III
Champion III

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