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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to change country name if country contains colons?

Hi team ,

I HAVE COUNTRY a FIELD NOW I WANT TO CHAGANGE COUNTRY NAMES LIKE BELOW CONDITION

but the country contains  ' Colons and North korea also colon how to write condition


if(Country=' Democratic People's Republic of ',    'North'Korea', Country)

Thanks

1 Solution

Accepted Solutions
Not applicable
Author

if(Country=' Democratic People' & chr(39) & 's Republic of ',    'North' & chr(39) & 'Korea', Country)

View solution in original post

3 Replies
giakoum
Partner - Master II
Partner - Master II

if(replace(Country, chr(39), '')=' Democratic Peoples Republic of ',    'North'Korea', Country)

Not applicable
Author

Instead of colon in country name use chr(39) (ASCII for ' )

Regards,

Amay.

Not applicable
Author

if(Country=' Democratic People' & chr(39) & 's Republic of ',    'North' & chr(39) & 'Korea', Country)