aboutsummaryrefslogtreecommitdiffstats
path: root/strutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'strutil.h')
-rw-r--r--strutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strutil.h b/strutil.h
index d61160d..ff3d6a1 100644
--- a/strutil.h
+++ b/strutil.h
@@ -89,6 +89,8 @@ bool HasSuffix(StringPiece str, StringPiece suffix);
bool HasWord(StringPiece str, StringPiece w);
+StringPiece TrimPrefix(StringPiece str, StringPiece suffix);
+
StringPiece TrimSuffix(StringPiece str, StringPiece suffix);
class Pattern {