Help with "Like" operator

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, all
How can i validate input in the textbox:
Valid input range should be from 05 - 99 by using "Like"
Dim bCh as Boolen
Dim sStr as String = "04" (invalid input)

bCh = sStr Like "[0-9][0-9]"

Please, help
 

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