954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

conditions problem

i've to set some conditions to my program. user has to enter a string of 2 letters + 7 numbers in this order eg. x1234567y
how do i set the conditions to make sure the order is correct?

thanks

c#dummie
Light Poster
38 posts since Jul 2005
Reputation Points: 10
Solved Threads: 1
 

You should use regular expressions.

Good Luck,
ProFreeLance

ProFreelance
Newbie Poster
17 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You