how to extract a substring from a string until second space is encountered in Csharp?
- 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 no.of characters to be extracted are not the same always..hence i want to extract until second space is encountered..plz help..