Your posts on the topic make it so much harder and weirder than it should be–
moo@cow~>perl -CSD -le '$_ = " \N{U+5317}\N{U+4EB0} "; print "<$_>"; s/\A\s+|\s+\z//g; print "<$_>"; print join " ", split //;'
< 北亰 >
<北亰>
北 亰
In reply to Re: How to split, join and trim leading / leading white space
by Your Mother
in thread How to split, join and trim leading / trailing white space
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |