CodeItBetter Programming Another VB Programming Blog

How to Test if a character is Alpha Numeric.

Posted on August 4, 2011
1
2
3
4
5
'String Manipulation - How to Test if a character is Alpha Numeric.
Public Function IsAlphaCharacter(ByVal sChar As String) As Boolean
    'Returns true if the input letter is alphabetical in any code page or language.
    IsAlphaCharacter = (Not (UCase$(sChar) = LCase$(sChar))) Or (sChar = " ")
End Function
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.