Design Pattern Examples
Overview of object-oriented design patterns
splitw.cpp File Reference

Implementation of the split functions, for splitting a wide character string on delimiters. More...

#include "split.h"
Include dependency graph for splitw.cpp:

Go to the source code of this file.

Namespaces

namespace  Helpers
 The namespace containing all the "helper" functions in the C++ code.
 

Functions

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.
 

Detailed Description

Implementation of the split functions, for splitting a wide character string on delimiters.

Definition in file splitw.cpp.