sxt:pad-left

Use this function to add a number of characters to the left of a string. If the length of the string to return is less than the value specified, the return string is truncated.

Note: This function is only supported by the CDC Replication Engine for Event Server.
Syntax:
sxt:pad-left (string_to_pad, value, string_to_fill)
Input Parameters:
string_to_pad specifies the string to be modified by adding characters to the left.
value specifies the length of the string to be returned.
string_to_fill specifies the string that contains the characters to fill.
Return Value:
String
Example:
<sxt:element name=Leading_Zeros_Number value=sxt:pad-left(number,8, '0')/>