Type Method

characterSetWithCharactersInString:

Returns a character set containing the characters in a given string.

Declaration

+ (NSCharacterSet *)characterSetWithCharactersInString:(NSString *)aString;

Parameters

aString

A string containing characters for the new character set.

Return Value

A character set containing the characters in aString. Returns an empty character set if aString is empty.

See Also

Creating a Custom Character Set

+ characterSetWithRange:

Returns a character set containing characters with Unicode values in a given range.

NSOpenStepUnicodeReservedBase

Specifies lower bound for a Unicode character range reserved for Apple’s corporate use.