Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check exist string in string php

$myString = 'Hello Learn Tech Tips (Zidane)?';
if (strpos($myString, 'Zidane') !== false) {
    echo "This string contains Zidane";
}
 
PREVIOUS NEXT
Tagged: #check #exist #string #string #php
ADD COMMENT
Topic
Name
1+9 =