diff options
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r-- | src/FbTk/StringUtil.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh index b45d6a2..7f0cf54 100644 --- a/src/FbTk/StringUtil.hh +++ b/src/FbTk/StringUtil.hh | |||
@@ -64,6 +64,9 @@ std::string basename(const std::string &basename); | |||
64 | std::string::size_type removeFirstWhitespace(std::string &str); | 64 | std::string::size_type removeFirstWhitespace(std::string &str); |
65 | std::string::size_type removeTrailingWhitespace(std::string &str); | 65 | std::string::size_type removeTrailingWhitespace(std::string &str); |
66 | 66 | ||
67 | /// removes the first part of a string and returns the two pieces | ||
68 | void getFirstWord(const std::string &in, std::string &first, std::string &rest); | ||
69 | |||
67 | /// Breaks a string into tokens | 70 | /// Breaks a string into tokens |
68 | template <typename Container> | 71 | template <typename Container> |
69 | static void | 72 | static void |