diff options
author | fluxgen <fluxgen> | 2003-09-29 14:01:48 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-29 14:01:48 (GMT) |
commit | 75b3606424a27dafeb0958450bffa841ae463c2d (patch) | |
tree | 87c2521ee380565936c0f3268ac0388456e69d6b /src/FbTk/StringUtil.hh | |
parent | 71504b8bbe636bc49795ca3e94e78a70a2602542 (diff) | |
download | fluxbox-75b3606424a27dafeb0958450bffa841ae463c2d.zip fluxbox-75b3606424a27dafeb0958450bffa841ae463c2d.tar.bz2 |
added removeFirstWhitespace
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r-- | src/FbTk/StringUtil.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh index 621f0fb..6f3b56a 100644 --- a/src/FbTk/StringUtil.hh +++ b/src/FbTk/StringUtil.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: StringUtil.hh,v 1.5 2003/08/22 22:11:19 fluxgen Exp $ | 22 | //$Id: StringUtil.hh,v 1.6 2003/09/29 14:01:48 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_STRINGUTIL_HH | 24 | #ifndef FBTK_STRINGUTIL_HH |
25 | #define FBTK_STRINGUTIL_HH | 25 | #define FBTK_STRINGUTIL_HH |
@@ -54,6 +54,10 @@ std::string toUpper(const std::string &conv); | |||
54 | #endif // basename | 54 | #endif // basename |
55 | std::string basename(const std::string &basename); | 55 | std::string basename(const std::string &basename); |
56 | 56 | ||
57 | |||
58 | /// removes the first whitespace characters of the string | ||
59 | std::string::size_type removeFirstWhitespace(std::string &str); | ||
60 | |||
57 | /// Breaks a string into tokens | 61 | /// Breaks a string into tokens |
58 | template <typename Container> | 62 | template <typename Container> |
59 | static void | 63 | static void |