[Javascript] ASCII to Text (complete answer)
Flavio Gomes
flavio at economisa.com.br
Fri Apr 30 13:05:51 CDT 2004
Thanks!
----- Original Message -----
From: <shawn_milochik at godivachoc.com>
To: <javascript at LaTech.edu>
Sent: Friday, April 30, 2004 1:36 PM
Subject: Re: [Javascript] ASCII to Text (complete answer)
>
>
>
>
> <script type="text/javascript">
>
> var testNum = 65;
> var testChar = 'A';
>
> //number to character
> alert(String.fromCharCode(testNum));
>
>
> //character to number
> alert(testChar.charCodeAt(0));
>
>
>
> </script>
>
> Shawn
>
>
>
>
> **********************************************************************
> This e-mail and any files transmitted with it may contain
> confidential information and is intended solely for use by
> the individual to whom it is addressed. If you received
> this e-mail in error, please notify the sender, do not
> disclose its contents to others and delete it from your
> system.
>
> **********************************************************************
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
More information about the Javascript
mailing list