Menu Samaritan's Purse

STRPBRK

Search a string for any of a set of characters

SYNTAX

strpbrk ( string $haystack , string $char_list ) : string

PARAMETERS

haystack

The string where char_list is looked for.

char_list

This parameter is case sensitive.

RETURN

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

EXAMPLES

1

se

2

o World!

PHP