Table of Contents

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

Synopsis:

$insert(<num> <word> <text>)

Technical:

Practical:

This function can be used to insert text into the middle of a string at a known location. You probably found the location by using $index() or $rindex().

Returns:

input <text> with <word> inserted after the <num>th character

Examples:

$insert(3 baz foobarbooya)  returns "foobazbarbooya"