How to check the capital letter?
If you don't want to mess around with NSCharacterSet and NSScanner,
you could also do this:
NSString *string = @"abcABC";
NSUInteger index = 0; // The character at this index will be checked
NSString *character = [string substringWithRange:NSMakeRange(index, 1)];
NSLog(@"is uppercase: %i", [character isEqualToString:[character
uppercaseString]]);
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]