MarkLogic Server 11.0 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy