pad-string-left
Returns a string which is padded to the left by a single specific character, up to a required length. The desired string length and the padding character are supplied as arguments.

Languages
Built-in, C++, C#, Java.
Parameters
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. |