---
title: "localizedString(byJoining:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/listformatter/localizedstring(byjoining:)"
---

# localizedString(byJoining:)

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

## Declaration

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

## Parameters

- `strings`: An array of strings to join together in a list.

## Return Value

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

## Discussion

Discussion tip: Use this method to join strings that are ready to be displayed in a bullet-point list. Sentences, phrases with punctuations, and appositions may not work well when joined together.

## See Also

### Converting Arrays to Formatted Lists

- [string(from:)](foundation/listformatter/string(from:).md)
- [string(for:)](foundation/listformatter/string(for:).md)
