Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php find keyword 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 #keyword #string
ADD COMMENT
Topic
Name
7+2 =