SIRIUS 7.5.0
Electronic structure library and applications
Namespaces | Functions
string_tools.hpp File Reference

Extra functions to work with std::strings. More...

Go to the source code of this file.

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 

Functions

auto sirius::split (std::string const str__, char delim__)
 Split multi-line string into a list of strings. More...
 
std::string & sirius::ltrim (std::string &str, const std::string &chars="\t\n\v\f\r ")
 
std::string & sirius::rtrim (std::string &str, const std::string &chars="\t\n\v\f\r ")
 
std::string & sirius::trim (std::string &str, const std::string &chars="\t\n\v\f\r ")
 

Detailed Description

Extra functions to work with std::strings.

Definition in file string_tools.hpp.