Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{{ removeProtocol inputUrl }}

Explanation: This helper removes either "http://" or "https://" from the start of a URL

Example

Original URL: http://example.org

...

Modified URL: http://example.com

Note that "replace" will replace all occurrences of the "string-to-find" that are found in the URL


To control the order in which changes are made, parentheses can be used inside the curly brackets:

...