return Charcode from String

  • Thread starter Thread starter GandaSalada
  • Start date Start date
G

GandaSalada

Is there a function that return the charcode of a string?
It would be a kind of reverse Chr()
Thank you
 
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
 
Try the Asc function (or AscB). Note, however, that it works on one
character at a time.
 
GandaSalada said:
Is there a function that return the charcode of a string?
It would be a kind of reverse Chr()
Thank you

Asc() will do it.

Tom Lake
 

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

Back
Top