Table of Contents

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

Synopsis:

$pad(<width> <char> <text>)

Technical:

Practical:

This function is especially useful for forcing strings to a minimum length, possibly for a script that hooks and displays a /names reply.

Returns:

<text> padded with a number of <char>s until its length is <length>

Examples:

$pad(8 ! test)                       returns "test!!!!"

History:

This function first appeared in EPIC4pre1.046