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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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
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 !