Skip to content

Encode URL¤

URL encodes the string.

Examples¤

Notation: List of values are represented via square brackets. Example: [first, second] represents a list of two values “first” and “second”.


Example 1:

  • Input values:

    1. [ab]
  • Returns: [ab]


Example 2:

  • Input values:

    1. [a&b]
  • Returns: [a%26b]


Example 3:

  • Input values:

    1. [http://example.org/some/path]
  • Returns: [http%3A%2F%2Fexample.org%2Fsome%2Fpath]

Parameter¤

Encoding¤

The character encoding.

  • Datatype: string
  • Default Value: UTF-8

Comments