47 std::string right(const std::string& str, int length); |
47 std::string right(const std::string& str, int length); |
48 std::string vsprintf(const char* formatString, va_list args); |
48 std::string vsprintf(const char* formatString, va_list args); |
49 std::string __cdecl sprintf(const char* formatString, ...) GNUATTRIBUTE((format(printf, 1, 2))); |
49 std::string __cdecl sprintf(const char* formatString, ...) GNUATTRIBUTE((format(printf, 1, 2))); |
50 std::string remove_range(const std::string& string, int start, int end); |
50 std::string remove_range(const std::string& string, int start, int end); |
51 void replace_all(std::string& str, const char* text, const char* replacement); |
51 void replace_all(std::string& str, const char* text, const char* replacement); |
52 bool starts_with(const std::string& str, const std::string& other); |
52 bool starts_with(const std::string& string, const std::string& substring); |
53 std::vector<std::string> split(const std::string& string, const std::string& delimeter); |
53 std::vector<std::string> split(const std::string& string, const std::string& delimeter); |
54 std::optional<long> to_int(const char* str, int base = 10); |
54 std::optional<long> to_int(const char* str, int base = 10); |
55 void normalize(std::string& string, int (*filter)(int) = std::isspace); |
55 void normalize(std::string& string, int (*filter)(int) = std::isspace); |
56 |
56 |
57 END_ZFC_NAMESPACE |
57 END_ZFC_NAMESPACE |