Returns a string which is padded to the right by a single specific character, up to a required length. The desired string length and the padding character are supplied as arguments.
Built-in, C++, C#, Java.
Name |
Type |
Description |
---|---|---|
string |
xs:string |
Specifies the input string. |
desired-length |
xs:int |
Defines the desired length of the string after padding. |
padding-char |
xs:string |
Defines the character to use as padding character. |