§ 4.52 - [lsplit] Built-InMnemonic aid: lsplit for List SPLIT from content See also: [aisort] , [append] , [asort] , [clearl] , [cmap] , [dlist] , [e] , [hmap] , [isort] , [lcc] , [lcopy] , [lhsort] , [list] , [ljoin] , [llen] , [lpop] , [lset] , [lslice] , [lsub] , [ltol] and [translate] Creates a list from content by splitting it using the specified parameters. num=N indicates the number of splits, not the number of results. So two splits provides three results, one split provides two, etc. sep=^ defines what separates the splitKey from the contentToSplit. It defaults to a comma: [lsplit (sep=^,)(num=N,)listName,splitKey^contentToSplit] [style tag *[b]* ] [lsplit list1,||,a||b||c||d] [dlist style=tag,list1] [lsplit num=2,list1,||,a||b||c||d] [dlist style=tag,list1] [lsplit sep=?,list1,||?a||b||c||d] [dlist style=tag,list1] *a* *b* *c* *d* *a* *b* *c||d* *a* *b* *c* *d*
*a* *b* *c* *d*
*a* *b* *c||d*
*a* *b* *c* *d*
Keyboard Navigation
, Previous Page . Next Page t TOC i Index |