判断一个字符串是否包含另一个子字符串
作者:杨锦龙时间:2026-06-24点击量:0次
public function checkStringStropsString($string, $needle){
if (mb_strpos($string, $needle, 0, 'UTF-8') !== false) {
return true;
} else {
return false;
}
}
凯瑞小站
public function checkStringStropsString($string, $needle){
if (mb_strpos($string, $needle, 0, 'UTF-8') !== false) {
return true;
} else {
return false;
}
}