List Formatter
The List Formatter is a Source and a Formatter. You can use it as a Formatter to repeat the contents of any IEnumerable, such as an Array or List.
The spacers can also include character literals, for example, instead of a comma you could also use \n to list each item on a new line. Use the placeholder index to access the current index of the list being iterated. You can use this to access multiple lists.
Localized String Example
This example shows how to pass a list as an argument to a LocalizedString.
Note
The list must be one of the arguments, in this example it is argument 0.
// Text: "Use {0:list:{}|, |, and } to move".
var myLocalizedString = new LocalizedString("My Table", "My Entry");
myLocalizedString.Arguments = new object[] { new object[] { "w", "a", "s", "d" } };
// Outputs "Use w, a, s and d to move"
Debug.Log(myLocalizedString.GetLocalizedString(myLocalizedString));