Answers for "str contain in php"

PHP
5

php string contains

$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Posted by: Guest on May-20-2020
0

contains php

if (strpos($a, 'are') !== false) {
    echo 'true';
}
Posted by: Guest on July-02-2020

Browse Popular Code Answers by Language