Thoth
A functional, expressive, asynchronous C++26 webdev library
Loading...
Searching...
No Matches
Utils.hpp File Reference
#include <bitset>
#include <string_view>
#include <string>
#include <Thoth/String/Utils.tpp>
Include dependency graph for Utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Thoth::String::CharSequences
 
struct  Thoth::String::CharSequences::Http
 

Namespaces

namespace  Thoth
 
namespace  Thoth::String
 

Functions

bool Thoth::String::CaseInsensitiveCompare (char c1, char c2)
 
void Thoth::String::Trim (std::string_view &str, std::string_view trim=CharSequences::whitespace)
 
void Thoth::String::LeftTrim (std::string_view &str, std::string_view trim=CharSequences::whitespace)
 
void Thoth::String::RightTrim (std::string_view &str, std::string_view trim=CharSequences::whitespace)
 
std::string_view Thoth::String::Trimmed (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
std::string_view Thoth::String::LeftTrimmed (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
std::string_view Thoth::String::RightTrimmed (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
std::string Thoth::String::TrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
std::string Thoth::String::LeftTrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
std::string Thoth::String::RightTrimmedStr (std::string_view str, std::string_view trim=CharSequences::whitespace)
 
constexpr std::bitset< 256 > Thoth::String::MakeBitset (std::initializer_list< std::string_view > strs)
 
bool Thoth::String::IsVisible (char c)