Home Search

DriveWorks Pro 21
SppStringShorten

Send Feedback

SppStringShorten

Returns a pipebar (|) delimited string based on a certain number of entries in an existing pipebar (|) delimited string.

Syntax

SppStringShorten([String To Shorten],[Start Index],[Item Count])

Where:

String To Shorten is a pipebar (|) delimited string.

Start Index is the index to start at.

Item Count is the number of items to return.

Example

RuleResultMeaning
SppStringShorten("Red|Green|Blue|Black",2,2)Green|BlueWill return a new shorter string containing the specified number of items starting at the specified index.