Home >Backend Development >PHP Tutorial >php截取中文字符串取后四位解决方案

php截取中文字符串取后四位解决方案

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:23:53963browse

php截取中文字符串取后四位
$str = "需要截取的字符串";

只留下“的字符串”!!!
  
取该字符串的后四位 怎么取

Statement:
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