<?php
$mystring = '激動的我啊';
$findme = '激';
$pos = strpos($mystring, $findme);
if ($pos === false)
{
echo '在'.$mystring.'中沒有找到'.$findme;
}
else
{
echo '找到了';
}
?>
函數詳情:
