25#ifndef __BITPIT_STRING_UTILS_HPP__
26#define __BITPIT_STRING_UTILS_HPP__
51inline std::string &
ltrim(std::string &s);
52inline std::string &
rtrim(std::string &s);
53inline std::string &
trim(std::string &s);
56inline std::string
lfill(
int nchars,
const std::string &s,
char c);
57inline std::string
rfill(
int nchars,
const std::string &s,
char c);
61bool getAfterKeyword(
const std::string &line,
const std::string &key,
char del, std::string &result);
62inline bool keywordInString(
const std::string &line,
const std::string &key);
71template <
class T,
size_t n>
72void convertString(std::string input, std::array<T,n> &output);
81#include "stringUtils.tpp"
std::string & trim(std::string &s)
std::string rfill(int nchars, const std::string &s, char c)
std::string zeroPadNumber(int nchars, int num)
std::string & ltrim(std::string &s)
bool keywordInString(const std::string &line, const std::string &key)
std::string lfill(int nchars, const std::string &s, char c)
void convertString(std::string input, T &output)
bool getAfterKeyword(const std::string &line, const std::string &key, char del, std::string &result)
std::string & rtrim(std::string &s)