|
関数 |
bool | isEscaped (const std::string &str, std::string::size_type pos) |
| 文字列がエスケープされているか判断する.
|
std::string | escape (const std::string str) |
| 文字列をエスケープする.
|
std::string | unescape (const std::string str) |
| 文字列のエスケープを戻す.
|
void | eraseHeadBlank (std::string &str) |
| 文字列の先頭の空白文字を削除する.
|
void | eraseTailBlank (std::string &str) |
| 文字列の末尾の空白文字を削除する.
|
void | replaceString (std::string &str, const std::string from, const std::string to) |
| 文字列を置き換える.
|
std::vector< std::string > | split (const std::string &input, const std::string &delimiter) |
| 文字列を分割文字で分割する.
|
bool | toBool (std::string str, std::string yes, std::string no, bool default_value=true) |
| 与えられた文字列をbool値に変換する.
|
bool | isAbsolutePath (const std::string &str) |
| 与えられた文字列が絶対パスかどうかを判断する.
|
bool | isURL (const std::string &str) |
| 与えられた文字列がURLかどうかを判断する.
|
template<class Printable> |
std::string | otos (Printable n) |
| 与えられたオブジェクトをstd::stringに変換.
|
template<typename To> |
bool | stringTo (To &val, const char *str) |
std::vector< std::string > | unique_sv (std::vector< std::string > sv) |
std::string | flatten (std::vector< std::string > sv) |
char ** | toArgv (const std::vector< std::string > &args) |