functx, which I belive is built into marklogic has this, and if not the source is
http://www.xqueryfunctions.com/xq/functx_pad-string-to-length.html From: [email protected] [mailto:[email protected]] On Behalf Of helen chen Sent: Thursday, May 13, 2010 11:24 AM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] how to create a padding string I want to create a string using one character with specific length, it is like padding. In marklogic 0.9-ml, I can do something like fn:string-pad("0", 3), it will give me "000" How can I do it in marklogic 1.0-ml? Thanks, Helen
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
