Answers for "see if string contains substring php"

PHP
6

php find if string contains

if (strpos($string, 'substring') !== false) {
	// do stuff 
}
Posted by: Guest on August-25-2020
0

contains php

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

Code answers related to "see if string contains substring php"

Browse Popular Code Answers by Language