How to trim everything to the right of the last 2 characters | PHP

后端 未结 0 544
滥情空心
滥情空心 2021-01-04 04:42

Essentially I have a string and would like to strip everything to the right of the last 2 characters

For example:

\'folder/TN\'


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题