10 #ifndef __Teuchos_MatrixMarket_split_hpp
11 #define __Teuchos_MatrixMarket_split_hpp
18 namespace MatrixMarket {
23 trim (
const std::string& in);
46 std::vector<std::string>
47 split (
const std::string& str,
48 const std::string& delimiters,
49 const size_t start=0);
55 #endif // __Teuchos_MatrixMarket_split_hpp
std::string lowercase(const std::string &in)
Return lowercase version of the given string.
std::vector< std::string > split(const std::string &str, const std::string &delimiters, const size_t start)
Split the given string using the given set of delimiters.
std::string trim(const std::string &in)
Trim whitespace from both sides of the given string.
std::string trim_and_lowercase(const std::string &in)
Trim whitespace from both sides, and make lowercase.