diff options
author | nyamatongwe <unknown> | 2001-10-11 10:33:08 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-10-11 10:33:08 +0000 |
commit | 8bf069357efca443fda0038fbff2d1aef2301bc5 (patch) | |
tree | 4c6694f0df13831e1d36dea74cc51dd9d6cc1e3c /include/SString.h | |
parent | 702d55eeac36988da8fa155813c08381181a7e73 (diff) | |
download | scintilla-mirror-8bf069357efca443fda0038fbff2d1aef2301bc5.tar.gz |
Added a remove(string) method which is substitute(string, "").
Diffstat (limited to 'include/SString.h')
-rw-r--r-- | include/SString.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SString.h b/include/SString.h index 64f702b66..6ae65806a 100644 --- a/include/SString.h +++ b/include/SString.h @@ -299,6 +299,9 @@ public: posFound = search(sFind, posFound + lenReplace); } } + void remove(const char *sFind) { + substitute(sFind, ""); + } }; #endif |