diff options
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 8b8b7bc2..872a8f52 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -65,4 +65,12 @@ template<typename T> std::string toString(const T &arg) */ const char *ipToString(int address); +/** + * Removes bad characters from a string + * + * @param str the string to remove the bad chars from + * @return a reference to the string without bad chars + */ +std::string &removeBadChars(std::string &str); + #endif // UTILS_STRINGUTILS_H |