Submitted by Brian Element on Tue, 08/28/2012 - 12:36
The Asc() function will return the ASCII code for the character. It a string is placed in the function it will only return the ASCII code for the first character.
Script:
Sub Main Dim myString As String myString = "ABC" MsgBox Asc(myString) 'returns 65 which is "A"