DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
StringOperations.h File Reference

Go to the source code of this file.

Namespaces

namespace  dftfe
 
namespace  dftfe::utils
 
namespace  dftfe::utils::stringOps
 

Functions

bool dftfe::utils::stringOps::strToInt (const std::string s, int &i)
 
bool dftfe::utils::stringOps::strToDouble (const std::string s, double &x)
 
void dftfe::utils::stringOps::trim (std::string &s)
 
std::string dftfe::utils::stringOps::trimCopy (const std::string &s)
 
std::vector< std::string > dftfe::utils::stringOps::split (const std::string &inpStr, std::string delimiter=" ", bool skipAdjacentDelimiters=true, bool skipLeadTrailWhiteSpace=true)