searching a character in a string
        Posted  
        
            by iSight
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by iSight
        
        
        
        Published on 2010-05-09T07:41:05Z
        Indexed on 
            2010/05/09
            7:48 UTC
        
        
        Read the original article
        Hit count: 239
        
c
hi,
how can find position of a character in a string, and get the substring till that character.
say
char* test = "Hello world, I come back";
I want to find first occurrence 'l' character.
© Stack Overflow or respective owner