how to extract a substring from a string until second space is encountered in Csharp?
        Posted  
        
            by gbprithvi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by gbprithvi
        
        
        
        Published on 2010-04-08T12:22:04Z
        Indexed on 
            2010/04/08
            17:43 UTC
        
        
        Read the original article
        Hit count: 235
        
c#
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..
© Stack Overflow or respective owner