Function strrchr

Top 

 

Declaration:

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

Description

The strchr function searches the first entry of character c in line s. 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.