Quantcast
Channel: Answers for "Converting a single String character to representative int. How? Javascript"
Browsing latest articles
Browse All 4 View Live

Answer by Molix

It sounds like you want the hexadecimal equivalent of "A". Hexadecimal is base-16, and uses the digits 0-9 then A-F.Here's an example of converting hex and back in C#.Edit, on re-reading, I'm thinking...

View Article



Answer by jahroy

The integer value of a character is referred to as its ASCII value.A is 65, B is 66, C is 67, etc...I'm not sure if everything is the same in unicode.var stringValue : String = "A"; /* get the int...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images