11 #ifndef TLX_STRING_SPLIT_HEADER 12 #define TLX_STRING_SPLIT_HEADER 37 std::vector<std::string>
split(
39 std::string::size_type limit = std::string::npos);
51 std::vector<std::string>
split(
53 std::string::size_type limit = std::string::npos);
65 std::vector<std::string>
split(
67 std::string::size_type limit = std::string::npos);
84 std::vector<std::string>
split(
86 std::string::size_type min_fields, std::string::size_type limit);
100 std::vector<std::string>
split(
102 std::string::size_type min_fields, std::string::size_type limit);
116 std::vector<std::string>
split(
118 std::string::size_type min_fields, std::string::size_type limit);
134 std::vector<std::string>&
split(
135 std::vector<std::string>* into,
137 std::string::size_type limit = std::string::npos);
150 std::vector<std::string>&
split(
151 std::vector<std::string>* into,
153 std::string::size_type limit = std::string::npos);
166 std::vector<std::string>&
split(
167 std::vector<std::string>* into,
169 std::string::size_type limit = std::string::npos);
187 std::vector<std::string>&
split(
188 std::vector<std::string>* into,
190 std::string::size_type min_fields, std::string::size_type limit);
205 std::vector<std::string>&
split(
206 std::vector<std::string>* into,
208 std::string::size_type min_fields, std::string::size_type limit);
223 std::vector<std::string>&
split(
224 std::vector<std::string>* into,
226 std::string::size_type min_fields, std::string::size_type limit);
233 #endif // !TLX_STRING_SPLIT_HEADER
std::vector< std::string > split(char sep, const std::string &str, std::string::size_type limit)
Split the given string at each separator character into distinct substrings.
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking