zaczac Master Cheater
Reputation: 0
Joined: 01 May 2007 Posts: 266 Location: Ontario, Canada
|
Posted: Fri Mar 15, 2013 8:00 pm Post subject: VB.Net String length with spaces. |
|
|
Sorry for the confusing title but I am not quite sure how to word this. Basically my program is accepting input from a text box and the user should enter a name IE, Joe Barn Smith with spaces between each name, what I need to check is to make sure each name entered it at least 2 characters long. So if someone entered Joe Barn S it would throw an error. Anyone know a simple way of doing this? Thanks in advanced.
EDIT nvm I solved the problem, used SPLIT then .Length on the array
|
|