add uppercase string utility function (for symmetry)

This commit is contained in:
Axel Kohlmeyer
2021-10-07 00:00:33 -04:00
parent b8d6df6461
commit 059f450f1b
4 changed files with 25 additions and 2 deletions

View File

@ -289,6 +289,13 @@ namespace utils {
std::string lowercase(const std::string &line);
/*! Convert string to uppercase
*
* \param line string that should be converted
* \return new string with all uppercase characters */
std::string uppercase(const std::string &line);
/*! Trim leading and trailing whitespace. Like TRIM() in Fortran.
*
* \param line string that should be trimmed