int strrpos ( string haystack, char needle)这个不是只能搜char的么
解决方案 »
- 关于标签的一个疑问。。
- 我想建个网站有意者请联系QQ552198603
- 请教 192.168.0.1(cnet1) | 192.168.0.3(cnet2) 问题
- 打不开网页,求救
- discuz网站突然变慢了,谁能帮帮我
- 急:100分求树状目录及tab显示的php源码
- 为什么这个在MYSQL里面不能执行,看不出那里有错
- 怎么把图片的路径存到数据库中,另外谁知道怎么把图片存到MSSQL中
- 开始整理以前的帖子,如果你发现你的专家分和可用分大副上升,或参与分大副下降,请不要惊讶 (zxyufan)
- 获取到的网址怎么自动打开
- 高分求教!!除了程序设计优化,zend+ eacc(memcached)外,有什么办法能提高服务器的负载能力呢?
- PHP发送邮件问题
(PHP 4 >= 4.0.6, PHP 5)mb_strrpos -- Find position of last occurrence of a string in a string
Description
int mb_strrpos ( string haystack, string needle [, string encoding] )
mb_strrpos() returns the numeric position of the last occurrence of needle in the haystack string. If needle is not found, it returns FALSE. mb_strrpos() performs multi-byte safe strrpos() operation based on number of characters. needle position is counted from the beginning of haystack. First character's position is 0. Second character position is 1. If encoding is omitted, internal encoding is assumed. mb_strrpos() accepts string for needle where strrpos() accepts only character. encoding is character encoding. If it is not specified, internal character encoding is used. See also mb_strpos(), mb_internal_encoding(), strrpos().