Switch to side-by-side view
--- a/src/utils/smallut.h +++ b/src/utils/smallut.h @@ -142,6 +142,8 @@ /** Remove instances of characters belonging to set (default {space, tab}) at beginning and end of input string */ extern void trimstring(std::string& s, const char *ws = " \t"); +extern void rtrimstring(std::string& s, const char *ws = " \t"); +extern void ltrimstring(std::string& s, const char *ws = " \t"); /** Escape things like < or & by turning them into entities */ extern std::string escapeHtml(const std::string& in);