web.url_encode

Encodes a URL.

public static String web.url_encode( String message );
Argument
Description
message
The URL to encode.

Return Values

This function returns the encoded URL.

Parameterization

The message argument can be parameterized.

Example

In the following example, the URL https://www.google.com is encoded.

Copy code
String encodedURL = web.url_encode("https://www.google.com");