summaryrefslogtreecommitdiffhomepage
path: root/FoundationEx/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FoundationEx/Text.cpp')
-rw-r--r--FoundationEx/Text.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/FoundationEx/Text.cpp b/FoundationEx/Text.cpp
index ac86d5e..442a048 100644
--- a/FoundationEx/Text.cpp
+++ b/FoundationEx/Text.cpp
@@ -658,6 +658,14 @@ Text::replace(const char* pattern, const char* substitution)
}
Text
+Text::concat(const char* tail) const
+{
+ Text result(*this);
+ result.append(tail);
+ return result;
+}
+
+Text
Text::format(const char* fmt, ...)
{
char buf[2048];