mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]

Implementation of utilities for working with strings. More...

Implementation of utilities for working with strings.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file stringUtils.cpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

template<>
bool mx::ioutils::convertFromString< bool > (const std::string &str)
 Template specialization of convertFromString for bool. More...
 
void mx::ioutils::toLower (std::string &outstr, const std::string &instr)
 Convert a string to all lower case. More...
 
std::string mx::ioutils::toLower (const std::string &instr)
 Convert a string to all lower case. More...
 
void mx::ioutils::toUpper (std::string &outstr, const std::string &instr)
 Convert a string to all upper case. More...
 
std::string mx::ioutils::toUpper (const std::string &instr)
 Convert a string to all upper case. More...
 
void mx::ioutils::removeWhiteSpace (std::string &outstr, const std::string &instr)
 Remove all white space from a string. More...
 
std::string mx::ioutils::removeWhiteSpace (const std::string &instr)
 Remove all white space from a string. More...
 
int mx::ioutils::stringWrap (std::vector< std::string > &lines, const std::string &str, int width)
 Wrap a string by breaking it into smaller sized portions of a desired width. More...