Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Get char value
Tue, May 23 2017 5:45 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

What is the opposite of the Chr() function in EWB?

I can use Chr('A') to get the value 65

I want to get the value 65 from the char 'A'

In Javascript I would use "A".charCodeAt(0)

--
Chris Holland
[Team Elevate]
Tue, May 23 2017 6:27 AMPermanent Link

erickengelke

Avatar

Chris Holland wrote:

>What is the opposite of the Chr() function in EWB?

ord('A') = 65

Erick
http://www.erickengelke.com
Image