Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

char-value?

Hello

How can I get the char-value of a letter?

chr(33) gives "!", but how do I get 33 from "!"

Thanks

Sven
0
Dumdidum
Asked:
Dumdidum
  • 2
1 Solution
 
RonaldBiemansCommented:
MsgBox(Asc("!"))
0
 
RonaldBiemansCommented:
although this is a bit better

 MsgBox(AscW("!"))
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now