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: 
NiTo
Creator
Creator

Remove comma and dot from a record

Hi All,

Data in  the field " United States" is like given below:

NiTo_0-1681297200853.png

I need to remove the dot from the front, comma from the centre and need just the left value of the comma.

For eg:

Autuaga County

Bullock County

Butler County and so on..

Thanks

Labels (5)
4 Replies
marcus_sommer
MVP
MVP

Maybe per textbetween(FIELD, '.', ',', 1)

NiTo
Creator
Creator
Author

Hi Marcus,

Thanks for your reply.

I found the answer.

This time, I need the right hand side value..

Means, I need to remove comma, county name and dot and just need the State name..

Thanks

marcus_sommer
MVP
MVP

Just: subfield(FIELD, ',', 2)

NiTo
Creator
Creator
Author

Thanks for your reply once again Marcus..

I found the answer for this one too. And yes, I use the subfield function...

Cheerzzz..

Thanks