CFLLeftPad Procedure
Pads a string on the left side with a specified character to reach a desired length.
Signature
CFLLeftPad(String: text[1024]; Length: integer; Character: Char) Result: text[1024]
Parameters
String text[1024]
The input string to pad.
Length integer
The desired total length of the resulting string.
Character Char
The character to use for padding.
Returns
text[1024]
The left-padded string, truncated to maximum 1024 characters.