我有一个具有以下结构的变量:
$catname = 'this-is-my-category';
如何去掉“-”并得到:
$catname = 'this is my category';
最佳答案
关于php - 从变量中去掉 "-",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5422732/
我有一个具有以下结构的变量:
$catname = 'this-is-my-category';
如何去掉“-”并得到:
$catname = 'this is my category';
最佳答案
关于php - 从变量中去掉 "-",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5422732/