来自某个符号的TRIM / STR文本

时间:2016-06-14 20:24:20

标签: php trim

我有这段代码:

$title = &$cleantitle;
$cleantitle = str_replace(' ', '', $cleantitle);

$title = ./wp-content/uploads/webvideos/January/January - Intro Video/V001-Test-Video.mp4

我想获得

$cleantitle = V001-Test-Video

我不确定如何做到这一点。

0 个答案:

没有答案