ESCAPE

Escapes text by replacing characters with escape sequences (e.g. so that the text can be used in a URL)

Syntax 

ESCAPE(text)

Examples 

Example 1

Input

{
  "my_action": {
    "message": "Did you enjoy 'Willy Wonka & the Chocolate Factory'?"
  }
}

Formula

ESCAPE(my_action.message)

Output

"Did you enjoy 'Willy Wonka & the Chocolate Factory'?"
Example 2

Input

{
  "my_action": {
    "message": "Hello World"
  }
}

Formula

ESCAPE(my_action.message)

Output

"Hello World"