I am currently cleaning a dataset with postcodes to Geocode them into ArcMAP.
Currently, the postcodes have been cleaned to remove all blank spaces (leading, trailing, in between, etc,). What I would like is to insert a blank space before the last three characters and am unsure how to do this. It is a string variable.
gen str8=postcodenew=subinstr(postcode," ", "", .)
I have done this to remove spaces but now want to enter one in three characters from last character.