lang • url

Url$

Since 3.7

EncodedUrl = Url ( String ) EncodedUrl = Url$ ( String )

Encode an URL.

The / character is not encoded, so that you can encode URL paths in one shot.

If you really want the / character inside an URL path element (this is bad idea!), you have to encode each URL path element separately and use Replace(UrlPathElement, '/', '%2F') on them.

See also