Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Translating letters

by pvaldes (Chaplain)
on Apr 16, 2012 at 12:34 UTC ( #965300=note: print w/ replies, xml ) Need Help??

in reply to Translating letters

Being in mind that there are more than ten letters you can't use really tr for this idea because tr only changes a char by another

What I want to say is that you can't use tr to change i.e "f" by "23"

Although nothing is wrong with tr, if your problem is more complex that the example that you provide you probably should think in a hash for this

Comment on Re: Translating letters
Replies are listed 'Best First'.
Re^2: Translating letters
by pvaldes (Chaplain) on Apr 16, 2012 at 14:50 UTC

    mmmh... you ask about traslating numbers to letters but I realize just now that every people are doing exactly the opposite, showing how to traslate letters to numbers... XD.

    tr is the right tool for this, then

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965300]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2015-10-10 00:37 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls