REBOL Programming/ajoin

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

AJOIN block 

DESCRIPTION:[edit]

Reduces and joins a block of values into a new string.

AJOIN is a function value.

ARGUMENTS[edit]

  • block -- (Type: block)

(SPECIAL ATTRIBUTES)[edit]

  • throw

SOURCE CODE[edit]

ajoin: func [
    {Reduces and joins a block of values into a new string.} 
    [throw] 
    block [block!]
][
    make string! reduce block
]