Replaces an item in a list at a specified index.
SppReplaceItemInList([List],[Index],[Replacement Text])
Where:
List is a pipebar (|) delimited list of items.
Index is a number starting at 1 representing the index of the item to replace.
Replacement Text is the string to replace the original text value with.
Rule | Result | Meaning |
---|---|---|
SppReplaceItemInList("A|B|C|D|E",3,"T") | A|B|T|D|E | Will return the list with the specified item changed to the new value. |