Displaying 1 result from an estimated 1 matches for "x2str".
Did you mean:
  x2star
  
2008 Sep 24
1
string to numeric question
this seems l ike it shouldn't be that hard  but i give up.
if i have a string say, temp<-"01", I want to increase it by 1 so that 
it becomes "02". but the following code obviously won't work when the 
input string is say "10" because then it gives "011" when I just want 
"11".   uuugh.
does someone know an easy way ( i guess hard is