diff options
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/string_util.h b/base/string_util.h index 1c58e91..89caf4f 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -291,6 +291,9 @@ bool StartsWith(const string16& str, bool case_sensitive); // Returns true if str ends with search, or false otherwise. +bool EndsWith(const std::string& str, + const std::string& search, + bool case_sensitive); bool EndsWith(const std::wstring& str, const std::wstring& search, bool case_sensitive); |