in reply to Removing space at end of field and converting to text
For your second problem it may be that the best approach is to use a white list - a list of characters that are OK. You can use the translate operator tr (see Quote Like Operators - look for tr/ ) to delete all characters from a string that are not in a given list.
True laziness is hard work
|
---|
In Section
Seekers of Perl Wisdom