#include <stdexcept>
#include <algorithm>
#include <ext/sstream>
#include "vector.hpp"
Go to the source code of this file.
|
template<typename T > |
std::string | ext::to_string (const T &value) |
| To string method designated for objects that can be casted to string. More...
|
|
template<> |
std::string | ext::from_string (const std::string &) |
| Predeclaration of from string method. The from string methods are supposed to convert string representation of a given type to that type. More...
|
|
ext::vector< std::string > | ext::explode (const std::string &source, const std::string &delimiter) |
| Splits the string to substrings based on delimiter. More...
|
|
std::string | ext::implode (const std::vector< std::string > &source, const std::string &delimiter) |
| Merges strings using the delimiter. More...
|
|
bool | ext::isspace (int ch) |
| isspace method. More...
|
|
bool | ext::not_isspace (int ch) |
| Inverse of isspace method. More...
|
|
std::string_view | ext::ltrim (std::string_view s) |
| Trims spaces inside the string from the left. More...
|
|
std::string_view | ext::rtrim (std::string_view s) |
| Trims spaces inside the string from the right. More...
|
|
std::string_view | ext::trim (std::string_view s) |
| Trims spaces inside the string from both sides. More...
|
|
std::string_view | ext::make_string_view (std::string::const_iterator begin, std::string::const_iterator end) |
|