How to convert NSString to char?

I am trying to convert NSString to one char. When I write [[NSLocale] currentLocale] objectForKey:NSLocaleDecimalSeparator], I receive @",". How can I convert this to ','?

Thanks!

+3
source share
1 answer
unichar character = [myNSString characterAtIndex:0];
+4
source

Source: https://habr.com/ru/post/1716441/


All Articles