Let's say I extract a single character from a NSString like this:
[@"This is my String" characterAtIndex:0]
How do I find out if the character I get is a lowercase or uppercase character?
Thanks for any adivice!
BOOL isUppercase = [[NSCharacterSet uppercaseLetterCharacterSet] characterIsMember:[s characterAtIndex:0]];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With