Common string utility functions. More...
#include "Raven/Core/Base.h"#include <string>#include <algorithm>#include <ranges>#include <filesystem>#include <cwctype>Namespaces | |
| namespace | Raven |
Functions | |
| void | Raven::Trim (std::string &str) |
| Removes leading and trailing whitespace from a string. | |
| void | Raven::Trim (std::wstring &str) |
| Removes leading and trailing whitespace from a wstring. | |
| std::string | Raven::ToLower (std::string_view str) |
| Converts a string view to lowercase. | |
| const char * | Raven::strcasestr (const char *haystack, const char *needle) noexcept |
| Performs a case-insensitive substring search. | |
| bool | Raven::ResolveWorkingDirectory (const std::string &dirPath) |
| Resolves the path to the working directory. | |
Common string utility functions.
Provides basic string manipulation utilities such as trimming whitespace, converting to lowercase, and case-insensitive substring checks. These functions operate on std::string and std::string_view for convenience.