#include <algorithm>
#include <cctype>
#include <locale>
#include <sstream>
#include <string>
Go to the source code of this file.
|
std::string | Dune::Vtk::to_upper (std::string input) |
| convert all characters in a string to upper case
|
|
std::string | Dune::Vtk::to_lower (std::string input) |
| convert all characters in a string to upper case
|
|
std::string & | Dune::Vtk::ltrim (std::string &str) |
| trim a string from the left
|
|
std::string & | Dune::Vtk::rtrim (std::string &str) |
| trim a string from the right
|
|
std::string & | Dune::Vtk::trim (std::string &str) |
| trim a string from both sides
|
|
std::string | Dune::Vtk::trim_copy (std::string const &str) |
| trim a (copy of the) string from both sides
|
|
template<class InputIter , class T , class Func > |
void | Dune::Vtk::split (InputIter first, InputIter end, T const &t, Func f) |
|
template<class InputIter , class SeparatorIter , class Func > |
void | Dune::Vtk::split (InputIter first, InputIter end, SeparatorIter s_first, SeparatorIter s_end, Func f) |
|
void | Dune::Vtk::replaceAll (std::string &str, std::string const &from, std::string const &to) |
| Replace all occurences of substring from with to in source str .
|
|
template<class InputIter > |
std::string | Dune::Vtk::join (InputIter first, InputIter end, std::string sep=" ") |
|