Which one of the following functions is used to search a string?
A
preg_match
B
preg_search
C
preg_find
D
preg_found
Correct Answer: preg_match
The function returns 1 if search was successful else returns 0.