summaryrefslogtreecommitdiff
path: root/louloulibs/utils/split.hpp
blob: 6b487a9892af37271412c464b0452b6841636d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SPLIT_INCLUDED
# define SPLIT_INCLUDED

#include <string>
#include <vector>

namespace utils
{
  std::vector<std::string> split(const std::string &s, const char delim, const bool allow_empty=true);
}

#endif // SPLIT_INCLUDED