![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
Python 风格的字符串处理 更多...
#include <string>#include <string_view>#include <vector>命名空间 | |
| namespace | rm |
| namespace | rm::str |
函数 | |
| std::vector< std::string > | rm::str::split (std::string_view str, std::string_view delim) |
| 字符串分割 | |
| std::string | rm::str::join (const std::vector< std::string > &strs, std::string_view delim) |
| 字符串连接 | |
| std::string_view | rm::str::strip (std::string_view str) |
| 去除字符串两端的空白字符 | |
| std::string | rm::str::lower (std::string_view str) |
| 将字符串转换为小写 | |
| std::string | rm::str::upper (std::string_view str) |
| 将字符串转换为大写 | |
Python 风格的字符串处理