Function strchr

Top 

Declaration:

int strchr(char s[], int c, int index=0);

Description

The strchr function searches the first entry of character cs. The zero characters also participate in the search.

Returned function

The strchr function returns the number of the found character to s and returns -1, if there is no such character there.