Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
std_string.hpp
Go to the documentation of this file.
1#include <string>
2#include <vector>
3
4namespace bb::detail {
5std::vector<std::string> split(const std::string& str, char delimiter);
6// trim from start (in place)
7void ltrim(std::string& s);
8// trim from end (in place)
9void rtrim(std::string& s);
10// trim from both ends (in place)
11void trim(std::string& s);
12
13// Used to extract variables from a macro #__VA_ARGS__
14std::vector<std::string> split_and_trim(const std::string& str, char delimiter);
15} // namespace bb::detail
std::vector< std::string > split(const std::string &str, char delimiter)
void ltrim(std::string &s)
void trim(std::string &s)
std::vector< std::string > split_and_trim(const std::string &str, char delimiter)
void rtrim(std::string &s)