Skip to end of banner
Go to start of banner

urlDecode

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Syntax

urlEncode(textToEncode)

Description

Encodes text in URL format. This is useful when constructing a URL address used by a REST command.

Parameters


Parameter name

Type

Required

Description

1

textToEncode

string

Yes

Test to encode in URL format.

Return type

String

Returns the input text URL format

Example

string addon = "power scripts";
string url = "https://marketplace.atlassian.com/search?query=";
string urlText = urlEncode(url + addon);

Returns https://marketplace.atlassian.com/search?query=power%20scripts

See also

  • No labels