§ 4.57 - [lsub] Built-InMnemonic aid: lsub for List Substitution See also: [aisort] , [append] , [asort] , [clearl] , [cmap] , [dlist] , [e] , [hmap] , [isort] , [lcc] , [lcopy] , [lhsort] , [list] , [ljoin] , [llen] , [lpop] , [lset] , [lslice] , [lsplit] , [ltol] and [translate] Takes a list of the form AsepB, where the default sep value is the "|" character; uses this list to replace strings in the content. Replacement is case-sensitive unless you provide the ci=1 option: [lsub (sep=X,)listName,content] [list entlist,&|&,she|Sue] [lsub entlist,"She & me & some Tequila, she said"] [lsub ci=1,entlist,"She & me & some Tequila, she said"] "She & me & some Tequila, Sue said" "Sue & me & some Tequila, Sue said"
"She & me & some Tequila, Sue said"
"Sue & me & some Tequila, Sue said"
Other built-ins used here: [list]
Keyboard Navigation
, Previous Page . Next Page t TOC i Index |