Home >> PHP >> strpbrk() function in PHP

strpbrk() function in PHP

The strpbrk() function used for searches a string for any of the characters.

Syntax

strpbrk(string,charlist)

Example

echo strpbrk('Hello Dear','D');

Output

Dear

Post Your Comment

Next Questions
strpos() function
strrchr() function
strrev() function
strripos() function
strrpos() function
strspn() function
strstr() function
strtok() function
strtolower() function
strtoupper() function
strtr() function
substr() function
substr_compare() function
substr_count() function
substr_replace() function
trim() function
ucfirst() function
ucwords() function
wordwrap() function
array
Array type
Numeric array
Associate array
Multidimensional array
array() function

Copyright ©2022 coderraj.com. All Rights Reserved.