|
AMCAX Kernel 1.0.0.0
|
Defines utils for string. More...
Include dependency graph for StringUtils.hpp:
This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | AMCAX |
| Namespace of all interface in the AMCAX kernel.
| |
| namespace | AMCAX::Meshing |
| Namespace of all interface in the AMCAX Meshing module.
| |
Functions | |
| AMCAXMeshing_API std::vector< std::string > | AMCAX::Meshing::split_string (const std::string &str, char delim) |
| Split string with given delimitor.
| |
| AMCAXMeshing_API void | AMCAX::Meshing::trim_string (std::string &str) |
| Trim the spaces before and after string.
| |
| AMCAXMeshing_API bool | AMCAX::Meshing::starts_with (const std::string &big_str, const std::string &small_str) |
| Checks if string "big_str" starts with string "small_str".
| |
| AMCAXMeshing_API bool | AMCAX::Meshing::ends_with (const std::string &big_str, const std::string &small_str) |
| Checks if string ends with substring.
| |
| AMCAXMeshing_API std::string | AMCAX::Meshing::replace_first (const std::string &str, const std::string &orig, const std::string &rep) |
| Replaces the first occurrence of a substring in a string.
| |
| AMCAXMeshing_API std::string | AMCAX::Meshing::replace_last (const std::string &str, const std::string &orig, const std::string &rep) |
| Replaces the end occurrence of a substring in a string.
| |
| AMCAXMeshing_API std::string | AMCAX::Meshing::replace_all (const std::string &str, const std::string &orig, const std::string &rep) |
| Replaces the occurrence of a substring in a string.
| |
Defines utils for string.