Programming |  C Programming |  strnpos

 C String function: int strnpos (char *s, char *ch, unsigned int count)

Returns the position of a character in a string, but parses no more that 'n' chars.Parameters:

    s String where the search will be done 
    ch Character to search 
    count Maximum number of chars to parse before exiting the function 

See also: strpos()

so, where did this come from?