Specifies the string to be padded.
Specifies the total width of the returned string, which corresponds to the length of the String plus the number of padding characters to be added.
If this parameter is less than the length of String, then no padding or trimming occurs and String is returned.
1. |
The following example pads spaces onto the end of the string "Matrox", returning a string of length 10.
PADRIGHT("Matrox", 10)
|
Specifies the string to be padded.
Specifies the total width of the returned string, which corresponds to the length of the String plus the number of padding characters to be added.
If this parameter is less than the length of String, then no padding or trimming occurs and String is returned.
Specifies the character to use for padding.
1. |
The following example pads dashes onto the end of the string "Matrox", returning a string of length 10. The function returns "Matrox----"
PADRIGHT("Matrox", 10, "-")
|