![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
#include <string_view>#include <string>#include <vector>
Include dependency graph for StringUtils.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | galaxy |
| Animated.cpp galaxy. | |
| namespace | galaxy::str |
Functions | |
| 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. | |