How can I remove 3 characters at the end of a string in php?
如何在PHP中删除字符串末尾的3个字符?""abcabcabc"会变成"abcabc"!
想:
1 |
你需要使用
If length is given and is negative, then that many characters will be omitted from the end of string
如何在PHP中删除字符串末尾的3个字符?""abcabcabc"会变成"abcabc"!
想:
1 |
你需要使用
If length is given and is negative, then that many characters will be omitted from the end of string