Displaying 1 result from an estimated 1 matches for "tp4614869p4614889".
2012 May 07
2
substr not by position but by symbol
Hi all,
One of my variables looks like this:
.7_-.3_-.2_.9
And this is a character variable. I made this by combining four different
number like .7, -.3, -.2, and .9 using paste function.
Now, I want to go back to original format from this one combined character
variable. For instance, I want to extract 3rd number, -.2, from this
character.
I know I can use substr function, but each position