How do I extract a substring from a string until the second space is encountered?
- by gbprithvi
i have a string like this:
"o1 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467 1232.5467"
How do I extract only "o1 1232.5467"?
The number of characters to be extracted are not the same always.. hence I want to extract until the second space is encountered.