return Charcode from String

G

GandaSalada

Is there a function that return the charcode of a string?
It would be a kind of reverse Chr()
Thank you
 
R

RoyVidar

GandaSalada said:
Is there a function that return the charcode of a string?
It would be a kind of reverse Chr()
Thank you

Try the Asc() function

? Asc("a") -> 97
 
D

Douglas J. Steele

Try the Asc function (or AscB). Note, however, that it works on one
character at a time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top