Check if var is alphanumeric?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

How can you check to see if a variable is a number or is alphanumeric?
What's the easiest way?
 
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.
 
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?
|
|
 
Back
Top