|
-
Dec 7th, 2005, 02:25 PM
#1
Thread Starter
Hyperactive Member
perl: increase letter (through ascii value) by a number
The user types a word and clicks a button.
i then split the word to its letters, and store in an array.
I then wish to add (eg.) 10 to the ascii value of each letter, and display the result.
how can i find the ascii number of a letter in perl?? and then how do i convert an ascii value back to a letter?
Thanks
GTJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|