Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php find word in string

$pos = str_contains("Is this word in this sentence", "word");
// $pos will return true if string contains word;
 
PREVIOUS NEXT
Tagged: #php #find #word #string
ADD COMMENT
Topic
Name
6+3 =