Displaying 1 result from an estimated 1 matches for "414372".
Did you mean:
144372
2010 Jan 12
5
Drop last numeral
...because my data are of varying lengths it doenst work so well
Data<-c("1131", "1132", "1731" ,"1732" ,"1821" ,"1822", "2221" ,"2222",
"2241" ,"2242","414342" ,"414371" ,"414372")
Bldgid<-substring(as.character(Data),1,3)
returns:
"113" "113" "173" "173" "182" "182" "222" "222" "224" "224" "414" "414"
"414"
but i want"
"113&...