NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



Split

Splits a string based on a character into a list

Sample Source

MyList := Split "String1;String2;String3" With ";"

SelectItem First From MyList

While false = AtEndOfList MyList
   Say CurrentItem Of MyList
   SelectItem Next From MyList
Loop

Sample Source

a := split "A|B||D|||G|H|I" with "|"
foreach Key As Value In a
   Say "\nItem " + Key + "'s Value=" + Value;
Loop

Related Function(s):
   CreateList; CurrentItem; SelectItem; SplitXml;

Minimum version: 1.0