unichar and NSString - how interchangeable are these?

Viewed 28682

There is an NSString method -characterAtIndex: which returns an unichar.

  • (unichar)characterAtIndex:(NSUInteger)index

I wonder if this unichar, which obviously is not an NSString, can be converted into an NSString or feeded to an NSString for comparing purposes?

And: Does an NSString internally just consist of an array of unichar items?

3 Answers
Related