Site Tools


split

# $EPIC: split.txt,v 1.2 2006/08/20 16:57:01 sthalik Exp $

Synopsis:

$split(<chars> <text>)

Technical:

This function converts each specified character found in the input text to a space.

Practical:

This function is mostly useful for parsing lines of input that contain a particular character as a delimiter.

Returns:

input text with characters swapped

Examples:

$split(: a:b:c)            returns "a b c"
$split(,. a,b.c)           returns "a b c"
split.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1