1 #ifndef AMREX_STRING_H_
2 #define AMREX_STRING_H_
3 #include <AMReX_Config.H>
11 std::string
toLower (std::string s);
14 std::string
toUpper (std::string s);
18 std::string
trim (std::string s, std::string
const& space =
" \t");
26 std::vector<std::string>
split (std::string
const& s,
27 std::string
const& sep =
" \t");
Definition: AMReX_Amr.cpp:49
std::string trim(std::string s, std::string const &space)
Definition: AMReX_String.cpp:25
std::string toLower(std::string s)
Converts all characters of the string into lower case based on std::locale.
Definition: AMReX_String.cpp:11
std::string Concatenate(const std::string &root, int num, int mindigits)
Returns rootNNNN where NNNN == num.
Definition: AMReX_String.cpp:34
std::vector< std::string > split(std::string const &s, std::string const &sep)
Split a string using given tokens in sep.
Definition: AMReX_String.cpp:42
std::string toUpper(std::string s)
Converts all characters of the string into uppercase based on std::locale.
Definition: AMReX_String.cpp:18