|
| void | replace_r (std::string &str, const std::string from, const std::string to) |
| | 文字列中のすべての from を to に置換する(参照渡し、インプレース版)
|
| std::string | replace (std::string str, const std::string from, const std::string to) |
| | 文字列中のすべての from を to に置換した新しい文字列を返す(値返し版)
|
| std::vector< std::string > | find (const std::string &input, std::string start, std::string end) |
| | 文字列中から start〜end に囲まれた部分文字列をすべて取り出す
|
| int | toi (const std::string &str) |
| | 文字列中の数字のみを抽出して整数に変換する
|
| std::vector< int > | toi (const std::vector< std::string > &input) |
| | 文字列ベクタの各要素を toi で整数に変換する
|
| std::vector< std::string > | split (const std::string &str, const std::string &delimiter) |
| | 文字列を単一のデリミタで分割する(文字列ベクタを返す)
|
| std::vector< int > | spliti (const std::string &str, const std::string &delimiter) |
| | 文字列を単一のデリミタで分割し、各要素を整数に変換する
|
| splits | split (const std::string &input, const std::vector< std::string > &targets) |
| | 文字列を複数のデリミタで分割し、どのデリミタで区切られたかを記録する
|
| splitsi | spliti (const std::string &input, const std::vector< std::string > &targets) |
| | 複数デリミタ版 split の結果を整数に変換する
|
| std::vector< std::string > | charV (const int i_argc, const char *const i_argv[]) |
| | char 配列 (argc/argv 形式) を文字列ベクタに変換する
|
| std::vector< int > | charVi (const int i_argc, const char *i_argv[]) |
| | char 配列 (argc/argv 形式) を整数ベクタに変換する
|
| size_t | size (const std::string &input) |
| | UTF-8 文字列のマルチバイト文字数(文字単位の長さ)を返す
|