letter to number converter

By kerstt on Jun 25, 2007

a letter to number converter

it was a kinda shortcode challenge between patje` and me so i only letted it work on letters

116 bytes! :0

alias lettonumb $iif($isid,return,echo -ta) $regsubex($1-,/(.)/g,\1 = $calc($lower($asc(\1)-96)) $chr(124) $chr(32))

Comments

Sign in to comment.
Jethro   -  Jul 16, 2010

Is there a reason why $calc($lower($asc(\1)-96)) has to be used? It works fine with just $asc(\1) You can also use $bvar().text for this.

 Respond  
dlsocool   -  Jul 16, 2010

WOW! It's be nice, but how to creat a number to letter?
How can I creates code to convert a number to letter character, well.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.