devxlogo

Test for Alpha Characters Only, Part II

Test for Alpha Characters Only, Part II

I have a much simpler form for the IsAlphaNum function:

 Public Function IsAlphaNum(ByVal sString _As String) As BooleanIf Not sString Like "*[!0-9A-Za-z]*" _Then IsAlphaNum = TrueEnd Function

You can modify this function for other conditions. Simply put the acceptable characters

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist