How to convert NSString to char?

char, nsstring

Solution

unichar character = [myNSString characterAtIndex:0];

Problem

I'm trying to convert an NSString to a single char. When I write `[[NSLocale] currentLocale] objectForKey:NSLocaleDecimalSeparator]`, I get `@","`. How can I convert this to `','`? Thank you!

Original source