标签: php trim
我有这段代码:
$title = &$cleantitle; $cleantitle = str_replace(' ', '', $cleantitle);
$title = ./wp-content/uploads/webvideos/January/January - Intro Video/V001-Test-Video.mp4
$title
./wp-content/uploads/webvideos/January/January - Intro Video/V001-Test-Video.mp4
我想获得
$cleantitle = V001-Test-Video
$cleantitle
V001-Test-Video
我不确定如何做到这一点。