Answers for "PHP test if text contains subsrting and if so replace it"

PHP
6

php find if string contains

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

Code answers related to "PHP test if text contains subsrting and if so replace it"

Browse Popular Code Answers by Language