Check if var is alphanumeric?

V

VB Programmer

How can you check to see if a variable is a number or is alphanumeric?
What's the easiest way?
 
K

Kevin Spencer

Turn Option Strict ON. You'll never have to guess again.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
B

bruce barker

use a regular expression. see the regex class library

-- bruce (sqlwork.com)


| How can you check to see if a variable is a number or is alphanumeric?
| What's the easiest way?
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top