move reverse_string to string.hpp

This commit is contained in:
Twan van Laarhoven
2020-04-14 20:27:39 +02:00
parent 36918281c0
commit 0cffdb7d1a
3 changed files with 12 additions and 8 deletions
+3
View File
@@ -132,6 +132,9 @@ String substr_replace(const String& input, size_t start, size_t end, const Strin
/// Replace all occurences of one needle with replacement
String replace_all(const String& heystack, const String& needle, const String& replacement);
/// Reverses a string, Note: std::reverse doesn't work with wxString
String reverse_string(String const& input);
// ----------------------------------------------------------------------------- : Words
/// Returns the last word in a string