Home Search

DriveWorks Pro 22
SppReplaceItemInList

Send Feedback

SppReplaceItemInList

Replaces an item in a list at a specified index.

Syntax

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.

Example

RuleResultMeaning
SppReplaceItemInList("A|B|C|D|E",3,"T")A|B|T|D|EWill return the list with the specified item changed to the new value.