Contact Free trial Login

URL (dw::core::URL)

This module contains helper functions to work with Strings.

To use this module, you must import it to your DataWeave code, for example, by adding the line import * from dw::core::URL to the header of your DataWeave script.

Functions

Name Description

compose

Uses a custom interpolator to replace URL components with a encodeURIComponent result.

decodeURI

Decodes the escape sequences (such as %20) in a URI.

decodeURIComponent

Decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or a similar routine.

encodeURI

Encodes a URI with UTF-8 escape sequences.

encodeURIComponent

Escapes certain characters in a URI component using UTF-8 encoding.

parseURI

Parses a URL and returns a URI object.

Types

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.