summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-10 16:36:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-10 16:36:04 +0300
commit5a15b718a475f8c2809521ea3166de379bf85b36 (patch)
tree9b50a62cf5192469dc23448aace0d7ba7996ccf0 /src/utils/stringutils.h
parente19faa6874b92a949703e37e07e912c693545496 (diff)
downloadplus-5a15b718a475f8c2809521ea3166de379bf85b36.tar.gz
plus-5a15b718a475f8c2809521ea3166de379bf85b36.tar.bz2
plus-5a15b718a475f8c2809521ea3166de379bf85b36.tar.xz
plus-5a15b718a475f8c2809521ea3166de379bf85b36.zip
In parameters parsing function add support for multiply separators.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 67e91a464..ab9290378 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -142,6 +142,10 @@ size_t findI(std::string str, std::string subStr) A_WARN_UNUSED;
size_t findI(std::string text, const StringVect &list) A_WARN_UNUSED;
+size_t findAny(const std::string &restrict text,
+ const std::string &restrict chars,
+ const size_t pos) A_WARN_UNUSED;
+
const std::string encodeStr(unsigned int value,
const unsigned int size = 0) A_WARN_UNUSED;