AddPaddingToStart
Pads the captured value of the current Field object with spaces from the start of the string up to the first character until the specified length is reached.
Syntax
bool AddPaddingToStart (strParam)
Parameters
A number n indicating the maximum permissible length of the value. If the action finds that a value's length is less than this number, it inserts spaces until the maximum length is reached. Smart parameters are supported.Returns
Always True.Level
Field level.Details
- Example
AddPaddingToStart("12") uses spaces to expand a value with less than 12 characters. For example: RSJ-112 becomes _ _ _ _ _RSJ-112