Number of input and output field
| Number of input field |
: |
One |
| Number of output field |
: |
One |
This transformation function is used to add zero or more characters at the beginning of an input field.
The parameters of the LPad transformation function are:
- Minimum Length
The minimum length of the expected output.
- Filling Char
The character used to pad the input.
If the length of the input field is greater than the specified minimum length, then the input is transferred to the output without changes.
For example, the input field value is :
666666
-
if the parameters :
- Minimum Length : 10
- Filling Char : 0
then the output is 0000666666
-
if the parameter :
- Minimum Length : 5
- Filling Char : 0
then the output is still 666666