I have a string variable (Size) that contains numbers and characters. I want to subtract number and create new_var1 and subtract character and create new_var2. Which code do I have to use to get the results like below? Thank you.
SIZE NEW_VAR1 NEW_VAR2
0.13 AC 0.13 AC
2560 SF 2560 SF
2145 SF 2145 SF
1.12 AC 1.12 AC
0 Response to Subtract number and character separately from a string variable
Post a Comment