capitalized(with:)
Returns a capitalized representation of the string using the specified locale.
Declaration
func capitalized(with locale: Locale?) -> StringReturns a capitalized representation of the string using the specified locale.
func capitalized(with locale: Locale?) -> String