php search through string find match return boolean.?

Lanh

New member
$needle = 'test';
$heystack='fadadtest';

yourfunction($needle,$heystack){
if(match) return true;

if(!match) return false;

}

5 for answer! thank you
 
Back
Top