Bash++
Bash++ compiler internal documentation
explode.h
Go to the documentation of this file.
1
5#ifndef SRC_SHARED_EXPLODE_H_
6#define SRC_SHARED_EXPLODE_H_
7
8#include <string>
9#include <vector>
10
11std::vector<std::string> explode(
12 const std::string& input,
13 char delimiter,
14 bool can_escape = false,
15 int maximum_number_of_elements = 0,
16 bool preserve_empty = false
17);
18
19#endif // SRC_SHARED_EXPLODE_H_
std::vector< std::string > explode(const std::string &input, char delimiter, bool can_escape=false, int maximum_number_of_elements=0, bool preserve_empty=false)
Splits a string into a vector of strings based on a delimiter.
Definition explode.cpp:22