summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-01 00:58:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-01 00:58:39 +0300
commit4eeaa9b0aba548f8f4bd66c6f414884b8462a636 (patch)
treeda5289ff16f1028b280f893b342b94bbc3810f23 /src/utils/stringutils.h
parente806fa54f2735bfb2587cb20f2836345384af070 (diff)
downloadplus-4eeaa9b0aba548f8f4bd66c6f414884b8462a636.tar.gz
plus-4eeaa9b0aba548f8f4bd66c6f414884b8462a636.tar.bz2
plus-4eeaa9b0aba548f8f4bd66c6f414884b8462a636.tar.xz
plus-4eeaa9b0aba548f8f4bd66c6f414884b8462a636.zip
Add string function for parse string into two strings.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 3cca7c0f8..da75a42fa 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -240,6 +240,8 @@ void secureChatCommand(std::string &str);
bool parse2Int(const std::string &args, int &x, int &y);
+bool parse2Str(const std::string &args, std::string &str1, std::string &str2);
+
uint32_t parseNumber(const std::string &str);
std::string removeToken(std::string &str, const std::string &token);