Use a single line of API call to check if a given character is ALPHA or ALPHANUMERIC.
Use a single line of API call to check if a given character is ALPHA or ALPHANUMERIC.
API Declarations
Declare Function IsCharAlphaNumeric Lib "user32" Alias "IsCharAlphaNumericA" (ByVal cChar As Byte) As Boolean
Rate Use a single line of API call to check if a given character is ALPHA or ALPHANUMERIC.
(1(1 Vote))
CharacterToTest = "1"
Result1 = IsCharAlpha(Asc(CharacterToTest))
Result2 = IsCharAlphaNumeric(Asc(CharacterToTest))
End Sub
Use a single line of API call to check if a given character is ALPHA or ALPHANUMERIC. Comments
No comments yet — be the first to post one!
Post a Comment