The strpbrk() function searches a string for any of the specified characters.
string strpbrk ( string $haystack , string $char_list )
strpbrk() searches the haystack string for a char_list.
Parameter | Description |
---|---|
haystack | The string where char_list is looked for. |
char_list | This parameter is case sensitive. |
Returns a string starting from the character found, or FALSE if it is not found.