Home > php教程 > php手册 > php strripos 函数教程

php strripos 函数教程

WBOY
Release: 2016-06-13 11:16:43
Original
1440 people have browsed it

 

定义和用法


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

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

语法

strripos(string,find,start)


参数    说明

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

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

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

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


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


?>

输出结果为6

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


source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template