Skip to content

remove

remove(string, search) → string · String

Remove all occurrences of a substring from a string.

  • string (required): the source string

  • search (required): substring to remove

utlx
remove("Hello World", " ")              // "HelloWorld"
remove("$1,234.56", ",")                // "$1234.56"

Released under AGPL-3.0.