Added in 1.8.10
Removes any occurrence of substring in string.
string - The string to search.
substring - The substring to remove.
... - Additional substrings to remove.
; Remove all occurrences of 'CD' from the string. //echo -ag $removecs(abcdCDefg,CD) ; Remove all occurrences of 'A', 'C', 'E', 'G' from the string. //echo -ag $removecs(aAbcCdeEfgG,a,c,e,g)
Updated by Per Amundsen over 2 years ago · 1 revisions