$darkmode
#include <string>#include <string_view>#include <vector>Go to the source code of this file.
Functions | |
| bool | fable::starts_with (std::string_view s, std::string_view prefix) |
| bool | fable::ends_with (std::string_view s, std::string_view suffix) |
| std::string | fable::join_vector (const std::vector< std::string > &v, std::string_view sep) |
| std::vector< std::string > | fable::split_string (std::string_view s, std::string_view sep) |
| std::vector< std::string > fable::split_string | ( | std::string_view | s, |
| std::string_view | sep | ||
| ) |
Split string into vector by a separator.
| s | input string view |
| sep | separator to split by |