Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
xdmp.urlEncode( $plaintext as String, [$noSpacePlus as Boolean?] ) as String
Converts plaintext into URL-encoded string. To decode the string, use xdmp.urlDecode.
There is also a W3C function that does a slightly different url encoding: fn:encode-for-uri.
Parameters | |
---|---|
$plaintext | Plaintext to be encoded. |
$noSpacePlus | True to encode space as "%20" instead of "+". |
xdmp.urlEncode("Why not?") => "Why+not%3f"
Comments