C++ Programming/Code/Standard C Library/Functions/strpbrk

From Wikibooks, open books for an open world
Jump to: navigation, search

strpbrk[edit]

Syntax
#include <cstring>
char * strpbrk( const char *str, const char *ch );

The function strchr() returns a pointer to the first occurrence of any character within ch in str, or NULL if no characters were not found.

Related topics
strchr - strrchr - strstr