16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_FIT_TOOLS_STRINGUTILS_H
21 #define BORNAGAIN_FIT_TOOLS_STRINGUTILS_H
33 std::vector<std::string>
split(
const std::string& text,
const std::string& delimiter);
42 std::ostringstream out;
Utility functions to analyze or modify strings.
std::vector< std::string > split(const std::string &text, const std::string &delimiter)
Split string into vector of string using delimeter.
std::string scientific(T value, int n=10)
Returns scientific string representing given value of any numeric type.