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?
|
|
 

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

Back
Top