By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,567 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,567 IT Pros & Developers. It's quick & easy.

changing a character to its equivalent ascii code

P: 51
how can i change a character into its equivalent ascii code?
I have used ascii(char) function, but i has not worked.

Jul 17 '08 #1
Share this Question
Share on Google+
3 Replies

P: 13,264
Tried charCodeAt ?
Jul 17 '08 #2

P: 51
Tried charCodeAt ?
can you please give me the syntax?

Jul 17 '08 #3

Expert Mod 15k+
P: 16,027
Easy to search. See this reference and keep it handy for all things stringy.
Jul 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.