$remove

From Scriptwiki
Jump to: navigation, search

Removes any occurrence of substring in string.

$remove(string,substring,...)

Note: You can use $removecs() for a case-sensitive version.

Example

$remove(abcdefg,cd)  returns abefg

You can also specify multiple remove parameters:

$remove(abcdefg,a,c,e,g)  returns bdf

See Also