Bash++
Bash++ compiler internal documentation
explode.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <string>
8#include <vector>
9
10std::vector<std::string> explode(
11 const std::string& input,
12 char delimiter,
13 bool can_escape = false,
14 int maximum_number_of_elements = 0,
15 bool preserve_empty = false
16);
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