§ 4.102 - [split] Built-InMnemonic aid: split for SPLIT
This built-in takes content and splits it for retrieval using the [parm] built-in. The idea is that for some styles, you will want to pass more than one parameter. [split] takes a separator parameter X, and then the content to be split. You can specify anything you like as the separator, although to use a comma, you must use the comma escape, [co]
[split X,item(Xitem)] [split |,ben|larry|joe] The last split produced [v loc_splitcount] parameters [parm 2] [parm 1] [parm 0] [style disp [parm [b]] ] [split |,grapes|oranges|cherries|passionfruit|tomatoes|raspberries] [for disp,0,[v loc_splitcount],1] [split [co],Sheila,Michelle,Shevaughn] [parm 2] [parm 1] [parm 0] [splitcount 2] [split [co],Jim,Becky Thatcher,Tom Sawyer, and Huckleberry Finn] [parm 0] [parm 1] [parm 2] The last split produced 3 parameters joe larry ben grapes oranges cherries passionfruit tomatoes raspberries Shevaughn Michelle Sheila Jim Becky Thatcher Tom Sawyer, and Huckleberry Finn
The last split produced 3 parameters
joe
larry
ben
grapes oranges cherries passionfruit tomatoes raspberries
Shevaughn
Michelle
Sheila
Jim
Becky Thatcher
Tom Sawyer, and Huckleberry Finn
Other built-ins used here: [co] , [for] , [parm] , [parm] , [splitcount] , [style] and [v]
Keyboard Navigation
, Previous Page . Next Page t TOC i Index on February 18th, 2026 at 12:52 MT |