strrpos 与 strripos用法相同的,下面我们来看看吧.
定义和用法
该strrpos ( )函数判断 find是否会出现在string里面。
这个函数如果存在的成功,否则返回FALSE 。
strrpos 语法
strrpos(string,find,start)
string:必需。指定字符串搜索
find:所需。指定的字符串找到
start:可选。指定从何处开始搜寻
注: strrpos ( )函数是区分大小写
echo strrpos("Hello world!","wo");
?>
输出结果为6
再看一例子.
echo strrpos("WWW.111CN.CN!","cn");
?>
输出为0
知道为什么吗?因为strrpos区别大小小,它与strripos不同的是是否区别大小写.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

WebStorm Mac version
Useful JavaScript development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version
Recommended: Win version, supports code prompts!

Zend Studio 13.0.1
Powerful PHP integrated development environment