#include <string_view>
#include <string>
#include <vector>
Go to the source code of this file.
|
| std::vector< std::string > | galaxy::str::split (std::string_view input, std::string_view delim) noexcept |
| | Split a string based on a delimiter.
|
| std::string | galaxy::str::replace_first (std::string input, std::string_view to_replace, std::string_view replace_with) noexcept |
| | Replace first occurrence of a string.
|
| std::string | galaxy::str::replace_all (std::string input, std::string_view to_replace, std::string_view replace_with) noexcept |
| | Replaces all occurrences of a string.
|
| bool | galaxy::str::begins_with (const std::string &input, const std::string &find) noexcept |
| | Check if string begins with another string.
|
| std::string | galaxy::str::rtrim (std::string input) noexcept |
| | Trim string from start.
|
| std::string | galaxy::str::ltrim (std::string input) noexcept |
| | Trim string from end.
|
| std::string | galaxy::str::trim (std::string input) noexcept |
| | Trim both ends of string.
|
| std::string | galaxy::str::make_single_spaced (std::string input) noexcept |
| | Make a string single spaced.
|