aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-10-11 10:33:08 +0000
committernyamatongwe <devnull@localhost>2001-10-11 10:33:08 +0000
commitb0bb8949f54f2f35189a4b27f5597acc599b6de5 (patch)
tree4c6694f0df13831e1d36dea74cc51dd9d6cc1e3c
parentc3872e76d6145f54566a9c48d2ba355d895f6b10 (diff)
downloadscintilla-mirror-b0bb8949f54f2f35189a4b27f5597acc599b6de5.tar.gz
Added a remove(string) method which is substitute(string, "").
-rw-r--r--include/SString.h3
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