Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Removing space at end of field and converting to text

by GrandFather (Sage)
on Apr 13, 2012 at 00:02 UTC ( #964839=note: print w/replies, xml ) Need Help??


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
  • Comment on Re: Removing space at end of field and converting to text

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964839]
help
Chatterbox?
[Discipulus]: the waterpolo 1st match went badly..
[Discipulus]: second one is played meanwhile

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-07-21 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (321 votes). Check out past polls.