嗨,有没有更好更快的方法来清除字符串开头的许多字符?
我有这个,但这真的是最快的方法吗?
$description_new = ltrim($description_new, '###');
$description_new = ltrim($description_new, '.');
$description_new = ltrim($description_new, ',');
$description_new = ltrim($description_new, '!');
$description_new = ltrim($description_new, '?');
$description_new = ltrim($description_new, ')');
$description_new = ltrim($description_new, '(');
谢谢尼克