php strripos 函数教程
定义和用法
该strripos()函数一字符在一符串中出现。
如果存在函数返回成功,否则返回FALSE 。
语法
strripos(string,find,start)
参数 说明
string:必需。指定字符串搜索
find:必需。指定的字符串找
start:任选。指定从何处开始搜寻
好了下面我们来看看strripos的实例教程吧.
<?php echo strripos("Hello world!","WO"); ?>
输出结果为6
注意此函数不区别大小写.
教程网址:http://www.phprm.com/function/c0a4c05feb900188bf9aec4a9e625f7c.html
欢迎收藏∩_∩但请保留本文链接。