+1 vote
in PHP by
Which of the following is the use of strpos() function in PHP?

a) The strpos() function is used to search for the spaces in a string

b) The strpos() function is used to search for a number in a string

c) The strpos() function is used to search for a character/text in a string

d) The strpos() function is used to search for a capitalize character in a string

1 Answer

0 votes
by
c) The strpos() function is used to search for a character/text in a string

Description: The strops() is in-built function of PHP. It is used to find the position of the first occurrence of a string inside another string or substring in a string.
...