Hey guys,
what I want to do is pretty striaghtforward. I would like to replace 3-digit country codes by 2-digit country codes. My 3-digit country codes are strings (str3) with format (%9s). Due to some research I came up with the following code.
However there is still type mismatch due to error 109.
Many thanks in advance!
what I want to do is pretty striaghtforward. I would like to replace 3-digit country codes by 2-digit country codes. My 3-digit country codes are strings (str3) with format (%9s). Due to some research I came up with the following code.
Code:
replace reporteriso = string("AE","%9s") if reporteriso == string("ARE", "%9s")
However there is still type mismatch due to error 109.
Many thanks in advance!
Comment