|
LiteSQL 0.3.10
|
splits and joins strings. More...
#include <split.hpp>


Public Member Functions | |
| Split () | |
| empty split | |
| Split (size_t initial_size) | |
| init with reserved size (only reserved) | |
| Split (std::vector< std::string > data) | |
| from string vector | |
| Split (const std::string &s, const std::string &delim=" ") | |
| from string. | |
| Split | slice (int start, int end) const |
| returns a part of strings | |
| std::string | join (const std::string &delim) const |
| returns strings joined with delimiter | |
| Split & | extend (const std::vector< std::string > &s) |
| adds contents of another split to the end | |
Static Public Member Functions | |
| static std::string | join (const std::vector< std::string > &strings, const std::string &delim=" ") |
splits and joins strings.
Modelled with Python's strings in mind.
| litesql::Split::Split | ( | const std::string & | s, |
| const std::string & | delim = " " ) |
| Split Split::slice | ( | int | start, |
| int | end ) const |