You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stata Users Forum
I have two datasets and the subject ID is different in both. In the
primary data set the subject ID is a alpha-numeric string that looks
like SL045. In the second table there is a space between the city
reference and number - it looks like SL 045. I want to remove the
space between SL 045 so I can join the tables.
I have tried substring, itrim and subinstr functions but haven't been
able to solve this one. Thought the subinstr would work but hasn't.