OpenEnroth 73e68f7
|
Classes | |
struct | NoCaseLess |
Functions | |
static int | noCaseCompare (const char *l, const char *r, size_t size) |
std::string | toLower (std::string_view text) |
std::string | toUpper (std::string_view text) |
bool | noCaseStartsWith (std::string_view s, std::string_view prefix) |
bool | noCaseEquals (std::string_view a, std::string_view b) |
bool | noCaseLess (std::string_view a, std::string_view b) |
std::string | toPrintable (std::string_view s, char placeholder) |
char | isLower (char c) |
char | isUpper (char c) |
char | toLower (char c) |
char | toUpper (char c) |
bool | isSpace (char c) |
|
inline |
|
inline |
|
inline |
|
static |
bool ascii::noCaseEquals | ( | std::string_view | a, |
std::string_view | b | ||
) |
bool ascii::noCaseLess | ( | std::string_view | a, |
std::string_view | b | ||
) |
bool ascii::noCaseStartsWith | ( | std::string_view | s, |
std::string_view | prefix | ||
) |
|
inline |
std::string ascii::toLower | ( | std::string_view | text | ) |
std::string ascii::toPrintable | ( | std::string_view | s, |
char | placeholder = ' ' |
||
) |
s | String to transform. |
placeholder | Character to replace all non-printable chars with. |
placeholder
.
|
inline |
std::string ascii::toUpper | ( | std::string_view | text | ) |