Hi,

I'm trying to use a string label to label a map generated using the grmap command. That is, when I label the map, I would like to see something like:

Central
African
Republic

instead of 'Central African Republic'.

I tried this substitution, that looks to do the job:

Code:
replace bfcountrygroupname3 = "{bf:Central}"+char(10)+"{bf:African}"+char(10)+"{bf:Republic}"  if countrygroupname2=="Central African Republic"
While this looks to do the job, it crashed when runnig the map, or even doing a tabulate. Any suggestion to do this?

thanks,
Matías
​​​​​​​