Answers for "what is Str in php"

PHP
65

php strpos

$myString = 'Hello Bob how are you?';
if (strpos($myString, 'Bob') !== false) {
    echo "My string contains Bob";
}
Posted by: Guest on August-06-2019
0

strings php

returning portion of a string
Posted by: Guest on July-03-2020

Browse Popular Code Answers by Language