Loading TOC...

fn:string-pad

fn:string-pad(
   padString as xs:string?,
   padCount as xs:integer
) as xs:string?

Summary

[0.9-ml only] Returns a string representing the $padString concatenated with itself the number of times specified in $padCount.

Parameters
padString The string to pad.
padCount The number of times to pad the string.

Example

fn:string-pad("abc", 3)

=> abcabcabc

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.