char *strchr(const char *s, int c);
The strchr() function locates the first occurrence of
c, cast to char, in the string pointed to by
The terminating null character is considered a part of the string.
Points to the string to be searched.
Is the character to search for in string s.
The strchr() function returns a pointer to the first
occurrence of character c located within s.
If character c does not occur in the
string, strchr() returns a null pointer.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
- strcspn(), strpbrk(), strrchr(), strspn(), strstr()
PTC MKS Toolkit 10.3 Documentation Build 39.