Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

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

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