Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to change country name ?

 

Hi team ,

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

but the country contains  ' Colons how to write condition

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

help me

11 Replies
Gysbert_Wassenaar

Try two single quotes for the embedded quote: if(Country='Democratic People''s Republic of ','North Korea', Country)


talk is cheap, supply exceeds demand
Not applicable
Author

IF(Country='Democratic People'&chr(39)&'s Republic of ','North Koria' , Country)

Not applicable
Author

I tried but its  giving synatax error

Not applicable
Author

maybe we wildcard will work?

if(Country='Democratic People*','North Korea', Country)

Not applicable
Author

its giving error

MayilVahanan

Hi

Try like this

Load *, if(Country2='Democratic People'&chr(39)&'s Republic of',    'North Korea', Country2) as c1;

Load * Inline

[

Country2

Democratic People's Republic of

NorthKorea

];

hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
VishalWaghole
Specialist II
Specialist II

Hi

Please try this

IF(Country='Democratic People'&chr(39)&'s Republic of ','North Koria' , Country);

Thanks

Vishal.

sujeetsingh
Master III
Master III

try like this

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

Not applicable
Author

hmm..