Home > Backend Development > PHP Tutorial > 怎么从右边向左截取字符串

怎么从右边向左截取字符串

WBOY
Release: 2016-06-13 11:39:53
Original
1222 people have browsed it

如何从右边向左截取字符串

本帖最后由 goolean 于 2013-09-30 21:31:47 编辑 字符串为:"。。还有很多。。001_002_003",想要从右边第4个(_003)开始,得到向左的所有字符串“。。还有很多。。001_002"

应当如何实现 ,字符串的长度不确定,所以只能从右边开始载
Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template