summaryrefslogtreecommitdiffstats
path: root/core/ustring.h
diff options
context:
space:
mode:
authorMattias Cibien <mattiascibien@users.noreply.github.com>2016-05-11 09:22:59 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-11 09:22:59 +0200
commit49c473bb365054969687f14ed0b55bfe3b06e637 (patch)
treeafa4e7d4814639140ee42ed196caae8ca2594a28 /core/ustring.h
parent98bff2f595beda46a35ce66ac4d714fbc41ba2ba (diff)
downloadredot-engine-49c473bb365054969687f14ed0b55bfe3b06e637.tar.gz
Added possibility to strip left and right to strip_edges (#4594)
Diffstat (limited to 'core/ustring.h')
-rw-r--r--core/ustring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.h b/core/ustring.h
index ec0932e54d..78c041fb92 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -169,7 +169,7 @@ public:
String left(int p_pos) const;
String right(int p_pos) const;
- String strip_edges() const;
+ String strip_edges(bool left = true, bool right = true) const;
String strip_escapes() const;
String extension() const;
String basename() const;