aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r--src/FbTk/StringUtil.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh
index 3112a9d..b79b46a 100644
--- a/src/FbTk/StringUtil.hh
+++ b/src/FbTk/StringUtil.hh
@@ -41,6 +41,11 @@ std::string expandFilename(const std::string &filename);
41/// @return extension of filename (ex: filename.txt will return txt) 41/// @return extension of filename (ex: filename.txt will return txt)
42std::string findExtension(const std::string &filename); 42std::string findExtension(const std::string &filename);
43 43
44/// @return copy of original with find_string replaced with "replace"
45std::string replaceString(const std::string &original,
46 const char *find_string,
47 const char *replace);
48
44/// returns string between character first and last 49/// returns string between character first and last
45int getStringBetween(std::string& out, const char *instr, 50int getStringBetween(std::string& out, const char *instr,
46 char first, char last, 51 char first, char last,