I'm relatively new to C# (came from the PERL world).
I am looking at a string the user is going to enter in a text box, and want to determine whether or not it could be a name.
A name doesn't have any numbers in it, and the entire string should contain at least 2 spaces and at most 3 spaces (first middle last).
Since this is a common problem, I am supposing that there is a common solution. In the PERL world I would do this with a regular expression, but here I am stuck with generating some cumbersome code.
My question is, what is the common solution to this common problem?
TIA
Name validation (this should be an easy one)
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ken Barrett81 reputationPosted Feb 13, 2009, 9:29 AM EST
So... as Rosanna Anna Danna used to say... Nevermind.
Thanks!
Alicia Stones2 reputationPosted Feb 14, 2009, 6:46 AM EST
Ken Barrett81 reputationPosted Feb 14, 2009, 12:34 PM EST