SIMPOL Documentation

lpad()

Description

This function pads a string on the left by inserting spaces or optionally characters matching the one passed in c until it is the same length as the value passed in n. If the string is longer than n, it will be truncated from the right to the size passed in n.

Prototype

lpad ( string s, integer n, string c )

Parameters

ParameterDefault valueType nameDescription
sNonestring
nNoneinteger
c string