当前位置:编程学习 > php >>

php 中类似asp中instr()的函数是strpos

编程新手常问的问题 php 中类似asp中instr()的函数有么?请赐教 strpos(string,find,start) string为规定被搜索的字符串 必须 find为规定要查找的字符 必须 start为规定开始搜索的位置 可选 例如strpos("hello","e");返回答案为:1
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,