#include <stlsoft/stlsoft.h>
#include <stlsoft/shims/access/string.hpp>
#include <stlsoft/containers/static_array.hpp>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | stlsoft |
Functions | |
template<typename S1, typename S2, typename C> | |
bool | split (S1 const &s, C delim, S2 &s0, S2 &s1) |
Splits a string into two, at the first incidence of a delimiter. | |
template<typename S1, typename S2, typename C> | |
ss_uint_t | split (S1 const &s, C delim, S2 &s0, S2 &s1, S2 &s2) |
Splits a string into three, at first two incidences of a delimiter. | |
template<typename S1, typename S2, typename C> | |
ss_uint_t | split (S1 const &s, C delim, S2 &s0, S2 &s1, S2 &s2, S2 &s3) |
Splits a string into four, at first three incidences of a delimiter. | |
template<typename S1, typename S2, typename C> | |
ss_uint_t | split (S1 const &s, C delim, S2 &s0, S2 &s1, S2 &s2, S2 &s3, S2 &s4) |
Splits a string into five, at first four incidences of a delimiter. | |
template<typename S1, typename S2, typename C> | |
ss_uint_t | split (S1 const &s, C delim, S2 &s0, S2 &s1, S2 &s2, S2 &s3, S2 &s4, S2 &s5) |
Splits a string into six, at first five incidences of a delimiter. | |
template<typename S, typename C> | |
static_array_1d< S, 2 > | split (S const &s, C delim) |
Splits a string into two, at the first incidence of a delimiter. |