find string in text php code example
Example 1: php find string in string
$pos = strpos("find the position of X in here", "X");
Example 2: php find text in variable
if(strpos($comments, 'http://') !== false) {
$pos = strpos("find the position of X in here", "X");
if(strpos($comments, 'http://') !== false) {