xdmp.urlDecode

xdmp.urlDecode(
   encoded as String
) as String

Summary

Converts URL-encoded string to plaintext. This decodes the string created with xdmp.urlEncode.

Parameters
encoded Encoded text to be decoded.

Example

xdmp.urlDecode("Why+not%3f");
=> "Why not?"
Powered by MarkLogic Server | Terms of Use | Privacy Policy