PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::String Class Reference

Static Public Member Functions

static std::string ConvertUtf8 (const std::wstring_view &wstr)
 
static std::wstring ConvertUtf16 (const std::string_view &str)
 
static std::vector< std::string > Split (const std::string &str, char sep)
 
static bool StartsWith (std::string_view str, std::string_view token)
 
static bool Contains (std::string_view str, std::string_view token) noexcept
 
static std::string_view Trim (std::string_view str, std::string_view whitespace=" \t\n\r")
 
static std::string ReplaceFirst (std::string_view source, std::string_view search, std::string_view replace)
 
template<typename T >
static std::string To (T val)
 
template<typename T >
static T From (const std::string &str)
 

The documentation for this class was generated from the following file: