PHP strpbrk() Function

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.

Example -

ParameterDescription
haystackThe string where char_list is looked for.
char_listThis parameter is case sensitive.

Returns a string starting from the character found, or FALSE if it is not found.