aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.101 - [split] Built-In

Mnemonic aid: split

See also:  [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] )

Tip:

After the  [split] ) operation has run, you can retrieve the number of parameters that were created as current  [parm] ) values from the local variable loc_splitcount. Be aware that there may be content in  [parm] ) s that are outside of the set that were retrieved in the current operation. For instance, if loc_splitcount is 3, then the  [parm] ) s that will be set by the most recent  [split] ) are 0, 1 and 2 — but there may be older content in 3 and 4 and so on.

Tip:

See also the  [splash] ) built-in. It may do what you want with fewer operations.

Other built-ins used here:  [splash] )

Keyboard Navigation
, Previous Page . Next Page t TOC i Index
This manual was generated with wtfm
on January 10th, 2026 at 2:38 MT
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7