Hi
I'm looking for the best way to check that an NSString contains both numerical and alphabetical characters. What I have come up with so far is the code below but his just tells me that now characters were entered which aren't number or letters.
if( [[myNSString stringByTrimmingCharactersInSet:
[NSCharacterSet alphanumericCharacterSet]] isEqualToString:@""]){
//The string only contains alpha or numerical characters.
//But now I want to check that both character sets are present ?
}