YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
StringHelper.cpp
Go to the documentation of this file.
1
#include <vector>
2
3
#include <boost/algorithm/string.hpp>
4
5
#include "
YAPOG/System/StringHelper.hpp
"
6
7
namespace
yap
8
{
9
void
StringHelper::Split
(
10
const
String
& str,
11
const
String
& delimiters,
12
collection::Array<String>
& result)
13
{
14
std::vector<String> resultVector;
15
boost::split (resultVector, str, boost::is_any_of (delimiters));
16
17
for
(
const
String
& str : resultVector)
18
result.
Add
(str);
19
}
20
}
// namespace yap
YAPOG
src
YAPOG
System
StringHelper.cpp
Generated on Mon Sep 17 2012 22:24:26 for YAPOG by
1.8.1.1