Unravel Engine C++ Reference
Loading...
Searching...
No Matches
utils.cpp File Reference
#include "utils.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  string_utils
 
namespace  string_utils::alterable
 

Functions

auto string_utils::ltrim (const std::string &str) -> std::string
 
auto string_utils::rtrim (const std::string &str) -> std::string
 
auto string_utils::trim (const std::string &str) -> std::string
 
auto string_utils::replace (const std::string &str, const std::string &search, const std::string &replace) -> std::string
 
auto string_utils::to_upper (const std::string &str) -> std::string
 
auto string_utils::to_lower (const std::string &str) -> std::string
 
auto string_utils::extract_substring (const std::string &str, const std::string &from, const std::string &to) -> std::string
 
void string_utils::alterable::ltrim (std::string &str)
 
void string_utils::alterable::rtrim (std::string &str)
 
void string_utils::alterable::trim (std::string &str)
 
void string_utils::alterable::replace (std::string &str, const std::string &search, const std::string &replace)
 
void string_utils::alterable::to_upper (std::string &str)
 
void string_utils::alterable::to_lower (std::string &str)
 
auto string_utils::tokenize (const std::string &str, const std::string &delimiters) -> string_tokens_t