remove

Removes any specified substring from a string.

Parameters

  • str1 {String}: The input string. This parameter is required.
  • str2 {String}: The substring to remove. This parameter is required.
  • returns {String}: The resulting string.

Usage

{{ remove str1 str2 }}

Example

{{ remove 'hello' 'll' }} <!-- Outputs: 'heo' -->

Output
<a target="_blank" rel="nofollow" href="https://www.shopline.com/?utm_source=onlinestore&utm_medium=shopline&utm_campaign=powerbyshopline">Powered by SHOPLINE</a>
Was this article helpful to you?

Error loading component.

Error loading component.