Is there a built-in function to trim leading and trailing whitespace such that trim(" hello world ") eq "hello world"
?
转载于:https://stackoverflow.com/questions/4597937/perl-function-to-trim-string-leading-and-trailing-whitespace
Is there a built-in function to trim leading and trailing whitespace such that trim(" hello world ") eq "hello world"
?
转载于:https://stackoverflow.com/questions/4597937/perl-function-to-trim-string-leading-and-trailing-whitespace