$remove

From Scriptwiki
Revision as of 22:55, 8 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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