I have observations entries that look like this:
Array
I'd like to remove the leading "0"s from the school codes. I can't simply destring it because that are alphabets.
I tried:
Code:
gen high_school_code1 = subinstr(high_school_code, "0", "", 1)
Any help is very much appreciated!
Best,
Peter
0 Response to Remove leading "0"
Post a Comment