fill-from-right()
This function adds a filling character b to the right side of text a until a length of c is reached.
Parameters
Parameter |
Description |
a |
Text. |
b |
Filling character. Note: If more than one character is specified, only the first character is used. See examples below. |
c |
Length of result text. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
12345 |
0 |
10 |
1234500000 |
12345 |
0 |
1 |
12345 |
12345 |
test |
10 |
12345ttttt |