Functions HI-TECH C STRCHR
STRCHR, STRRCHR
SYNOPSIS
#include <string.h> char * strchr(char * s, int c) char * strrchr(char * s, int c)
DESCRIPTION
These functions locate an instance of the character c in the string s. In the case of strchr() a pointer will be returned to the first instance of the character found be searching from the beginning of the string, while strrchr() searches backwards from the end of the string. A null pointer is returned if the character does not exist in the string.