Text Component

Fnd_Text_PadSpaces

Fnd_Text_PadSpaces (text; length)

Legacy manual page 238

Parameters

ParameterTypeDescription
textTextThe text to pad with spaces
lengthLongintThe desired length
Function resultTextModified text with spaces

Description

This function pads the passed text with spaces to reach the desired length. If the length of the text is greater than the length parameter, the text will be truncated.

$padded_t:=Fnd_Text_PadSpaces ("sometext"; 10)
Extracted source text
            Fnd_Text_PadSpaces (text; length)

              Parameter                      Type                       Description
              text                           Text                       The text to pad with spaces
              length                         Longint                    The desired length
              Function result                Text                       Modified text with spaces

            This function pads the passed text with spaces to reach the desired length. If the length of the text is
            greater than the length parameter, the text will be truncated.
              $padded_t:=Fnd_Text_PadSpaces ("sometext"; 10)