diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-10 16:36:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-10 16:36:04 +0300 |
commit | 5a15b718a475f8c2809521ea3166de379bf85b36 (patch) | |
tree | 9b50a62cf5192469dc23448aace0d7ba7996ccf0 /src/utils/stringutils.h | |
parent | e19faa6874b92a949703e37e07e912c693545496 (diff) | |
download | mv-5a15b718a475f8c2809521ea3166de379bf85b36.tar.gz mv-5a15b718a475f8c2809521ea3166de379bf85b36.tar.bz2 mv-5a15b718a475f8c2809521ea3166de379bf85b36.tar.xz mv-5a15b718a475f8c2809521ea3166de379bf85b36.zip |
In parameters parsing function add support for multiply separators.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 4 |
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; |