Instance Method

uppercaseStringWithLocale:

Returns a version of the string with all letters converted to uppercase, taking into account the specified locale.

Declaration

- (NSString *)uppercaseStringWithLocale:(NSLocale *)locale;

Parameters

locale

The locale. For strings presented to users, pass the current locale ([NSLocale currentLocale]). To use the system locale, pass nil.

Return Value

An uppercase string using the locale.

See Also

Changing Case

lowercaseString

A lowercase representation of the string.

localizedLowercaseString

Returns a version of the string with all letters converted to lowercase, taking into account the current locale.

- lowercaseStringWithLocale:

Returns a version of the string with all letters converted to lowercase, taking into account the specified locale.

uppercaseString

An uppercase representation of the string.

localizedUppercaseString

Returns a version of the string with all letters converted to uppercase, taking into account the current locale.

capitalizedString

A capitalized representation of the string.

localizedCapitalizedString

Returns a capitalized representation of the receiver using the current locale.

- capitalizedStringWithLocale:

Returns a capitalized representation of the receiver using the specified locale.