Declaration of the split functions, for splitting a string on delimiters. More...
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | Helpers |
The namespace containing all the "helper" functions in the C++ code. | |
Macros | |
#define | __SPLIT_H__ |
Functions | |
std::vector< std::string > | split (const char *pszString, const char *splitChars=" ") |
Split the given string into a list of strings given the character on which to split. If the split character does not appear, return the original string as the first entry in the list. | |
std::vector< std::string > | split (const std::string &szString, const std::string &splitChars=" ") |
Split the given string into a list of strings given the character on which to split. If the split character does not appear, return the original string as the first entry in the list. | |
std::vector< std::wstring > | split (const wchar_t *pszString, const wchar_t *splitChars=L" ") |
Split the given string into a list of strings given the character on which to split. If the split character does not appear, return the original string as the first entry in the list. | |
std::vector< std::wstring > | split (const std::wstring &szString, const std::wstring &splitChars=L" ") |
Split the given string into a list of strings given the character on which to split. If the split character does not appear, return the original string as the first entry in the list. | |
Declaration of the split functions, for splitting a string on delimiters.
Definition in file lusplus/helpers/split.h.
#define __SPLIT_H__ |
Definition at line 8 of file lusplus/helpers/split.h.