Contents

localizedString(byJoining:)

Constructs a formatted string from an array of strings that uses the list format specific to the current locale.

Declaration

class func localizedString(byJoining strings: [String]) -> String

Parameters

  • strings:

    An array of strings to join together in a list.

Return Value

A formatted string that joins together a list of strings using a locale-specific list format.

Discussion

See Also

Converting Arrays to Formatted Lists