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.
 
Back
Top