Syntax
urlEncodeurlDecode(textToEncodetextToDecode)
Description
Excerpt |
---|
Encodes Decodes text in from URL format. This is useful when constructing parsing a URL address used by a REST command. |
...
Parameter name | Type | Required | Description | |
---|---|---|---|---|
1 | textToEncodetextToDecode | string | Yes | Test to encode in decode from URL format. |
Return type
String
Returns the input text URL format
Example
Code Block |
---|
string addon = "power scripts"; string url = "https://marketplace.atlassian.com/search?query=power%20scripts"; string urlTextproduct = substring(url, urlEncodeindexOf(url, "=") + addon1, length(url)); return urlDecode(product); |
Returns https://marketplace.atlassian.com/search?query=power%20scripts"power scripts"
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|