Home  >  Article  >  php教程  >  php strripos 函数教程

php strripos 函数教程

WBOY
WBOYOriginal
2016-06-13 11:16:431391browse

 

定义和用法


strripos ( )函数一字符在一符串中出现。

如果存在函数返回成功,否则返回FALSE 。

语法

strripos(string,find,start)


参数    说明

string:必需。指定字符串搜索

find:必需。指定的字符串找

start:任选。指定从何处开始搜寻

好了下面我们来看看strripos的实例教程吧.


echo strripos("Hello world!","WO");


?>

输出结果为6

注意此函数不区别大小写.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php处理ubb函数Next article:PHP filter_var_array 实例教程