Home Search

DriveWorks Pro 21
SppGetTableFromList

Send Feedback

SppGetTableFromList

Returns a Table containing a specified number of data rows from an existing pipebar (|) delimited string.

Syntax

SppGetTableFromList([Text],[Include Index Column])

Where:

Text is a Text string containing a pipebar (|) delimited list which will be turned into an Array.

Include Index Column is TRUE to create an index column, FALSE to only have the one column.

Example

RuleResultMeaning
SppGetTableFromList("Product A|Product B|Product C",TRUE){"Index","Value";"1","Product A";"2","Product B";"3","Product C"}This is the returned Array containing the items from the list as rows and with an index column.