101 void remove_from_end (int len) { remove (length() - len, len); } |
101 void remove_from_end (int len) { remove (length() - len, len); } |
102 void remove_from_start (int len) { remove (0, len); } |
102 void remove_from_start (int len) { remove (0, len); } |
103 void replace (const char* a, const char* b); |
103 void replace (const char* a, const char* b); |
104 void replace (int pos, int n, const String &a) { m_string.replace (pos, n, a.chars()); } |
104 void replace (int pos, int n, const String &a) { m_string.replace (pos, n, a.chars()); } |
105 void shrink_to_fit() { m_string.shrink_to_fit(); } |
105 void shrink_to_fit() { m_string.shrink_to_fit(); } |
106 void sprintf (const char* fmtstr, ...); |
106 void __cdecl sprintf (const char* fmtstr, ...); |
|
107 void vsprintf (const char* fmtstr, va_list args); |
107 bool starts_with (const String &other); |
108 bool starts_with (const String &other); |
108 String strip (char unwanted) { return strip ({unwanted}); } |
109 String strip (char unwanted) { return strip ({unwanted}); } |
109 String strip (const List<char> &unwanted); |
110 String strip (const List<char> &unwanted); |
110 void trim (int n); |
111 void trim (int n); |
111 |
112 |