Perl 去掉指定字符 2015-03-31 本文已影响357人 Waste_Land 去掉字符串中的* $test = "acc"; $test =~ s/*//g; print $test; #acc