1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

string handling

Discussion in 'C' started by swaeded, May 10, 2007.

  1. swaeded

    swaeded New Member

    Joined:
    Apr 26, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I have a doubt i have searched for this question but i didnt get the answer..
    can u help me in solving this problem..
    In C is there any string function like -strstr(a,b).
    If it is there can u tell me working of it with an eg...

    thank you..
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    strstr Finds a substring.

    char *strstr( const char *string, const char *strCharSet );

    Required Header for strstr is string.h
     

Share This Page