summaryrefslogtreecommitdiffstats
path: root/Src/StringTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/StringTools.h')
-rw-r--r--Src/StringTools.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Src/StringTools.h b/Src/StringTools.h
index 589c047..0c08805 100644
--- a/Src/StringTools.h
+++ b/Src/StringTools.h
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef STRINGTOOLS_STRINGTOOLS_H
+#define STRINGTOOLS_STRINGTOOLS_H
+
#include <string>
/* Handy utensils to manipulate strings */
@@ -17,13 +19,15 @@ public:
//! Will replace every occurence of `find` in `str` by `subst`.
static std::string Replace(const std::string& str, const std::string& find, const char subst);
- //! Will make a string all-lowercase. Only works with latin and german umlautes, plus some extras.
+ //! Will make a string all-lowercase.
static std::string Lower(const std::string& str);
- //! Will make a string all-uppercase. Only works with latin and german umlautes, plus some extras.
+ //! Will make a string all-uppercase.
static std::string Upper(const std::string& str);
private:
// No instanciation! >:(
StringTools();
};
+
+#endif //STRINGTOOLS_STRINGTOOLS_H