Library:   string.h
Prototype: char * strchr(const char *string, int character);
Syntax:	   int character='w';
	   char *string="red dwarf";
           if(strchr(string, character)) puts("Character found");
 strstr which looks for a sub-string in a string.
strstr which looks for a sub-string in a string.
 index and rindex do the same as strchr 
and strrchr but are non standard.
index and rindex do the same as strchr 
and strrchr but are non standard.
 Example program (from Dave Doolin).
 Example program (from Dave Doolin). 
| Top | Master Index | Keywords | Functions |