SIMPOL Documentation

PAD()

Description

This function inserts space characters to the right of the string value passed until it is the length passed in the iLength. If the length of the text passed in s is longer than the value passed in iLength, then the text will be reduced from the right side until it is of the desired length. The result is returned to the calling function.

Prototype

PAD ( string s, integer iLength )

Parameters

ParameterDefault valueType nameDescription
sNonestring
iLengthNoneinteger