Programming |  C Programming |  strpos

 C String function: int strpos (char * s, char * ch)

int strpos (char * s, char * ch)

Returns the position of a character in a string.

Parameters:

    s String where the search will be done 
    ch Character to search 
    count Maximum number of ch to search 

See also: strnpos()