urlEncode

Description

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

Parameters

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); return urlText;

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

See also