StringField

Family: String · One form

What it does

StringField takes string (a string), index (an integer) and delimiter (a string), and answers a string.

Syntax

StringField(string string, index integer, delimiter string) → string

Parameters

NameType
stringstring
indexinteger
delimiterstring

Every form returns

string

Example · generated

DO  Print(StringField("hello", 1, ","))  Sync()LOOP

StringField is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

Related commands

21 commands in String