Anonymous
public text v1 · immutable$strHaystack = "hello world he said";
$strNeedle = "hello world";
$strOut = substr($strHaystack,strpos($strHaystack,$strNeedle),strlen($strNeedle));
echo $strOut;$strHaystack = "hello world he said";
$strNeedle = "hello world";
$strOut = substr($strHaystack,strpos($strHaystack,$strNeedle),strlen($strNeedle));
echo $strOut;