Loading TOC...

fn.encodeForUri

fn.encodeForUri(
   $uri-part as String
) as String

Summary

Invertible function that escapes characters required to be escaped inside path segments of URIs.

Parameters
$uri-part A string representing an unescaped URI.

Example

fn.encodeForUri("http://example.com/Weather/Los%20Angeles#ocean");
=> "http%3A%2F%2Fexample.com%2FWeather%2FLos%2520Angeles%23ocean"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy