Table of Contents

# $EPIC: unsplit.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $

Synopsis:

$unsplit(<separator> <wordlist>)

Technical:

The <separator> argument is a dword which is different from most function arguments. This is so you can use a space as your <separator>.

The wordlist is considered to strictly be a list of dwords.

The function returns a list of uwords with each original dword separated by <separator>.

Practical:

This function is useful to “launder” a dword list into a uword list, specially if your <separator> is a space.

Useful for presenting strings splitted by split, or for returning wordlists in specific formats.

Returns:

The list of words separated by <separator>

Examples:

$unsplit(: a b c) returns “a:b:c”