|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^2: This looks like whitespace in my CSV but doesn't seem to beby Tux (Prior) |
| on Sep 30, 2012 at 18:00 UTC ( #996520=note: print w/ replies, xml ) | Need Help?? |
|
Text:CSV_XS has a native builtin way to delete trailing and leading whitespace:
But that would not help in this case for two reasons
Spreadsheet::Read however offers to strip leading and trailing whitespace from every field. I could extend that on request to allow it to strip Unicode whitespace too.
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||