$str = "Hello World!";
echo $str . "<br>";
echo trim($str,"Hoelsd!");
最后输出 Wor
你能想明白吗?
简单的用法
$p_path = ',1,2,5,';
$p_path = expload(trim($p_path),',');
var_dump($p_path);
$str = "Hello World!";
echo $str . "<br>";
echo trim($str,"Hoelsd!");
最后输出 Wor
你能想明白吗?
简单的用法
$p_path = ',1,2,5,';
$p_path = expload(trim($p_path),',');
var_dump($p_path);