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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
breno_morais
Partner - Contributor III
Partner - Contributor III

Take specifict text

Hello dear all!

I have this column and need to take text after "-" like this:

UBERLANDIA-MG   -> MG

JOAO PESSOA-PB  -> PB

Anyone help me? Is there something like regular expression?

Labels (1)
1 Solution

Accepted Solutions
vamsee
Specialist
Specialist

3 Replies
vamsee
Specialist
Specialist

MarioCenteno
Creator III
Creator III

Try

SubField(UBERLANDIA-MG,'-',-2)

breno_morais
Partner - Contributor III
Partner - Contributor III
Author

Works. Thank you!