|
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.
Definition in file stringUtils.cpp.
#include "../../include/ioutils/stringUtils.hpp"Go to the source code of this file.
Namespaces | |
| namespace | mx |
| The mxlib c++ namespace. | |
Functions | |
| mx::error_t | mx::ioutils::toLower (std::string &outstr, const std::string &instr) |
| Convert a string to all lower case. | |
| std::string | mx::ioutils::toLower (const std::string &instr, mx::error_t *errc=nullptr) |
| Convert a string to all lower case. | |
| mx::error_t | mx::ioutils::toUpper (std::string &outstr, const std::string &instr) |
| Convert a string to all upper case. | |
| std::string | mx::ioutils::toUpper (const std::string &instr, mx::error_t *errc=nullptr) |
| Convert a string to all upper case. | |
| void | mx::ioutils::removeWhiteSpace (std::string &outstr, const std::string &instr) |
| Remove all white space from a string. | |
| std::string | mx::ioutils::removeWhiteSpace (const std::string &instr) |
| Remove all white space from a string. | |
| 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. | |