首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
字符串查找strpos()函数用法
字符串查找strpos()函数用法
mac
2022-06-30
99
#如果id=3 在字符串中查找出3是否存在。$str="2,12,33,22,55";if(strpos(','.$id.',',','.$str.',')!==FALSE){ echo "存在";}else{ echo "不存在";}
转载于:https://www.cnblogs.com/hgj123/p/4386188.html
转载请注明原文地址: https://mac.8miu.com/read-9818.html
最新回复
(
0
)