Returns a string of made up of $decimal-var copies of $string-var concatenated together.
xf:string-pad(xs:string? $string-var, xs:decimal? $decimal-var) —> xs:string?
Returns a string of made up of $decimal-var copies of $string-var concatenated together.
Returns the value of $string-var1, if $string-var2 is a zero-length string ("").
Returns a zero-length string (""), if $decimal-var is equal to 0.
If the value of $string-var or $decimal-var is the empty sequence, the empty sequence is returned. The empty sequence is a sequence containing zero items (), which is similar to null in SQL.
W3C string-pad function description.