Utilities for string manipulation. More...
Functions | |
string | TrimSpaces (string input) |
string | IntAsString (int i) |
vector< string > | Split (string input, string delim) |
string | RemoveSuccessiveSpaces (string input) |
void | ReplaceStringInPlace (string &subject, const string &search, const string &replace) |
string | FilterString (string filt, string input) |
string | ToUpper (string input) |
string | ToLower (string input) |
template<class T > | |
bool | Convert (const vector< std::string > &input, std::vector< T > &v) |
Utilities for string manipulation.
January 12, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
bool genie::utils::str::Convert | ( | const vector< std::string > & | input, |
std::vector< T > & | v | ||
) |
Definition at line 79 of file StringUtils.cxx.
string genie::utils::str::IntAsString | ( | int | i | ) |
Definition at line 29 of file StringUtils.cxx.
Definition at line 52 of file StringUtils.cxx.
void genie::utils::str::ReplaceStringInPlace | ( | string & | subject, |
const string & | search, | ||
const string & | replace | ||
) |
Definition at line 67 of file StringUtils.cxx.
Definition at line 36 of file StringUtils.cxx.
Definition at line 98 of file StringUtils.cxx.
Definition at line 92 of file StringUtils.cxx.
Definition at line 18 of file StringUtils.cxx.