在javascript中如何将ASCII码转换成字符?

多谢!
---------------------------------------------------------------

c=String.fromCharCode(65)
---------------------------------------------------------------

str.charCodeAt(x),表示将字符串str中的第x个字符转变成ASCII值
求ASCII转字符:javascript用String.fromCharCode(x);vbscript用chr(x)或chrw(x)
求字符转ASCII:javascript用??;vbscript用asc('字符')

Published At
Categories with Web编程
comments powered by Disqus