2025-05-01 01:48:08 -07:00

1.1 KiB

List Formatter

The List Formatter is both a Source and a Formatter. You can use it as a Source to extract specific values from an IList by using an index.

Example Smart String Arguments Result
The value of the item at index 1 is {0.1}

[!code-cs]

The value of the item at index 1 is 2
{0.0} {0.1} {0.2}

[!code-cs]

1 Hello World
The index placeholder can be used to sync multiple lists such as {0:{} = {1.index}\|, }

[!code-cs]

The index placeholder can be used to sync multiple lists such as 1 = one, 2 = two, 3 = three, 4 = four