Syntaxe :
#include <cstring> char* strpbrk (const char* str1, const char* str2);
La fonction strpbrk()
renvoie un pointeur sur la première occurence
dans str1
d'un caractère appartenant à str2
; ou bien NULL
s'il n'y a aucun des caractère de str2
dans str1
.
Sujets connexes : (C++ Algorithmes) find_first_of, strchr, strcspn, strrchr, strspn, strstr, strtok