36#include "ITHACAparameters.H"
48std::string
str_trim(std::string
const& s);
Namespace to implement some useful assign operation of OF fields.
std::string str_trim(std::string const &s)
Trim a string cf.
bool containsSubstring(std::string contain, std::string contained)
Returns true if contained is a substring of contain, false otherwise.
std::string double2ConciseString(const double &d)
Returns the double d in string format without keeping all the extra 0.
void str_format_io(std::string const &s, unsigned int nMax)
Format a string.
std::vector< int > extractIntFromString(std::string input)
Returns an array storing all the integers in the input string.