Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Pads the passed string with spaces(' ') on the right or left depending on _rAlign parameter to reach the specified length
Syntax
protected str strLengthFix(
str _value,
int _length,
[boolean _rAlign])
Run On
Called
Parameters
- _value
Type: str
The string value which should be written.
- _length
Type: int
Number of characters allocated by the file format for the value being written.
- _rAlign
Type: boolean
True if string should be right aligned
Return Value
Type: str
Returns padded string
Remarks
If string length is more than _length, the string will be cut to reach the specified length