parse()
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/parse() · 414 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& parse() Syntax: parse(<list>,<eval>[,<delimiter>]) This function takes each element of <list>, evaluates <eval> after substituting it for ##, and constructs a space-separated list of the results. Example: > say parse(1 2 3 4 5,add(##,1)) You say "2 3 4 5 6" > say parse(This|is|a|string|length|test,strlen(##),|) You say "4 2 1 6 6 4" See Also: @dolist, iter(), map()