DriveWorks Solo 16: ListReplaceIndex [send feedback...]

ListReplaceIndex

Replaces the item at the specified index in a pipebar delimited list (|).

Syntax

ListReplaceIndex[List],[Index],[New Item])

Where:

List is the list to replace an item in.

Index is the index of the item to replace in the list.

New Item is the new item to replace the item at the specified index with.

Examples

RuleResult
ListReplaceIndex("A|B|C|D|E|F",3,"X")This will return "A|B|X|D|E|F"

Table of Contents