Function: lpad

Syntax

lpad (<string>,<char> {,<num>} )

Type

string

Returns

A string value prefixed with a number of occurrences of a character.

Parameters

Examples

Pad out to the left with spaces a string to a new length of 10.

string newval = lpad(oldval,' ',10)

See Also

Functions:

rpad (numeric)