SIMPOL Documentation

rpad()

Description

This function pads a string on the right 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

rpad ( string s, integer n, string c )

Parameters

ParameterDefault valueType nameDescription
sNonestring
nNoneinteger
c string