aboutsummaryrefslogtreecommitdiff
path: root/common/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/str.h')
-rw-r--r--common/str.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/str.h b/common/str.h
index fd77fa90c8..7a1706b7e1 100644
--- a/common/str.h
+++ b/common/str.h
@@ -154,9 +154,13 @@ public:
bool hasSuffix(const String &x) const;
bool hasSuffix(const char *x) const;
+ bool hasSuffixIgnoreCase(const String &x) const;
+ bool hasSuffixIgnoreCase(const char *x) const;
bool hasPrefix(const String &x) const;
bool hasPrefix(const char *x) const;
+ bool hasPrefixIgnoreCase(const String &x) const;
+ bool hasPrefixIgnoreCase(const char *x) const;
bool contains(const String &x) const;
bool contains(const char *x) const;
@@ -285,7 +289,7 @@ public:
* except that it stores the result in (variably sized) String
* instead of a fixed size buffer.
*/
- static String format(const char *fmt, ...) GCC_PRINTF(1,2);
+ static String format(const char *fmt, ...) GCC_PRINTF(1, 2);
/**
* Print formatted data into a String object. Similar to vsprintf,