aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/StringUtil.cc')
-rw-r--r--src/FbTk/StringUtil.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc
index 18e000e..a0e402d 100644
--- a/src/FbTk/StringUtil.cc
+++ b/src/FbTk/StringUtil.cc
@@ -60,6 +60,13 @@ namespace FbTk {
60 60
61namespace StringUtil { 61namespace StringUtil {
62 62
63
64std::string number2String(int num) {
65 char s[128];
66 sprintf(s, "%d", num);
67 return std::string(s);
68}
69
63/** 70/**
64 Tries to find a string in another and 71 Tries to find a string in another and
65 ignoring the case of the characters 72 ignoring the case of the characters