14 std::vector<std::string>
split(
const std::string &str,
const std::string &delimiters =
" ");
17 std::istream &
skip(std::istream &in,
char x =
'#');
20 bool startswith(
const std::string &str,
const std::string &prefix);
23 bool endswith(
const std::string &str,
const std::string &suffix);
26 std::string
replace_ext(
const std::string &filename,
const std::string &newext);
29 std::string
trim(
const std::string &
string);
34 const std::string &path,
35 const std::string &input_file_path,
36 const bool only_if_exists =
false);
std::istream & skip(std::istream &in, char x='#')
std::string trim(const std::string &string)
bool startswith(const std::string &str, const std::string &prefix)
std::vector< std::string > split(const std::string &str, const std::string &delimiters=" ")
bool endswith(const std::string &str, const std::string &suffix)
std::string replace_ext(const std::string &filename, const std::string &newext)
std::string resolve_path(const std::string &path, const std::string &input_file_path, const bool only_if_exists=false)