UrlDecode

Name

UrlDecode

Syntax

UrlDecode (String str)

Purpose

To return an unescaped string from a URL.

Description

Returns a string by replacing escaped characters with resolved ones from a URL.

Return Type

String

Parameter

str [System.String] – The escaped string to decode

Example

In this example, we are passing the required parameters to the function transformation object using a Variables object.

Where,

str = http%3A%2F%2Fwww.helloWorld.com%2FABC-123%2FABC123

Right-click on the function transformation object and select Preview Output. You can see that Astera has returned the resolved URL value.

© Copyright 2023, Astera Software