diff options
| author | Leonetienne <leonetienne@hotmail.de> | 2022-02-12 18:19:17 +0100 |
|---|---|---|
| committer | Leonetienne <leonetienne@hotmail.de> | 2022-02-12 18:19:17 +0100 |
| commit | cf397f3af828bf1f87392a5a1c349284589d25af (patch) | |
| tree | e2ed95639bffbd419dc18fcd080deddba429c859 /Src/StringTools.h | |
| parent | 91d7f8da33f62e2886e369f790a2d103d5392156 (diff) | |
Changed brace-style
Diffstat (limited to 'Src/StringTools.h')
| -rw-r--r-- | Src/StringTools.h | 10 |
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
|
