Mercurial > minori
diff include/core/strings.h @ 15:cde8f67a7c7d
*: update, megacommit :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 19 Sep 2023 22:36:08 -0400 |
parents | 4b198a111713 |
children | 2743011a6042 |
line wrap: on
line diff
--- a/include/core/strings.h Tue Sep 19 16:33:07 2023 -0400 +++ b/include/core/strings.h Tue Sep 19 22:36:08 2023 -0400 @@ -1,8 +1,11 @@ #ifndef __core__strings_h #define __core__strings_h + #include <string> #include <vector> + namespace Strings { + /* Implode function: takes a vector of strings and turns it into a string, separated by delimiters. */ std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); @@ -14,5 +17,9 @@ /* stupid HTML bullshit */ std::string TextifySynopsis(const std::string& string); -}; // namespace StringUtils + +std::string ToUpper(const std::string& string); +std::string ToLower(const std::string& string); + +}; // namespace StringUtils #endif // __core__strings_h \ No newline at end of file