<?php
$mystring = "abc";
$findme = "a";
$pos = strpos($mystring, $findme);
if($pos===false){
echo "Chuỗi con '$findme' không tìm thấy trong chuỗi mẹ '$mystring'";
}else{
echo "Chuỗi con '$findme' đã tìm thấy trong chuỗi mẹ '$mystring'";
echo " $findme";
}
?>
0 comments :
Post a Comment