diff options
author | Max Horn | 2009-06-07 13:04:03 +0000 |
---|---|---|
committer | Max Horn | 2009-06-07 13:04:03 +0000 |
commit | a39048877a0db397e8412e722af296e7c49643de (patch) | |
tree | aaab76676aac9f9449bca183547eeb5b146cdd98 /common/str.h | |
parent | 985bc454b20f20f2eccb62a2f3000022ac0d2c99 (diff) | |
download | scummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.tar.gz scummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.tar.bz2 scummvm-rg350-a39048877a0db397e8412e722af296e7c49643de.zip |
Added some new method variants to Common::String
svn-id: r41333
Diffstat (limited to 'common/str.h')
-rw-r--r-- | common/str.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/str.h b/common/str.h index 4dc0f1be92..b7dbd6535a 100644 --- a/common/str.h +++ b/common/str.h @@ -143,9 +143,13 @@ public: int compareTo(const char *x) const; // strcmp clone int compareToIgnoreCase(const char *x) const; // stricmp clone + bool hasSuffix(const String &x) const; bool hasSuffix(const char *x) const; + + bool hasPrefix(const String &x) const; bool hasPrefix(const char *x) const; + bool contains(const String &x) const; bool contains(const char *x) const; bool contains(char x) const; |