Share this page

# web.url_encode

Encodes a URL.

    public static String web.url_encode( String message );

Example | Java Syntax

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");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: