Replaces the item at the specified index in a pipebar delimited list (|).
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.
Rule | Result |
---|---|
ListReplaceIndex("A|B|C|D|E|F",3,"X") | This will return "A|B|X|D|E|F" |