PHP头条
热点:

PHP strripos函数用法总结,strripos函数


php strripos()函数 语法

作用:寻找某字符串中某字符最后出现的位置,不区分大小写

语法:

strripos(string,find,start)

参数:

string必需。规定被搜索的字符串。

find必需。规定要查找的字符。

start可选。规定在何处开始搜索。

说明:查找字符串在另一字符串中最后一次出现的位置。strripos() 函数对大小写不敏感。

php strripos()函数 示例

<?php
echo strripos("You love php, I love php too!","PHP");
?>

php strripos()函数 示例

<?php
echo strripos("PHP is a good development language! I love PHP","php");
?>

感谢大家的学习和对PHP之友的支持。

www.phpzy.comtrue/php/21082.htmlTechArticlePHP strripos函数用法总结,strripos函数 php strripos()函数 语法 作用:寻找某字符串中某字符最后出现的位置,不区分大小写 语法: strripos(string,find,start) 参数: string必需。规定被搜索的字符...

相关文章

PHP之友评论

今天推荐