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 sprintf (const char* fmtstr, ...); |
107 bool starts_with (const String &other); |
107 bool starts_with (const String &other) const; |
108 String strip (char unwanted) { return strip ({unwanted}); } |
108 String strip (char unwanted) { return strip ({unwanted}); } |
109 String strip (const List<char> &unwanted); |
109 String strip (const List<char> &unwanted); |
110 void trim (int n); |
110 void trim (int n); |
111 |
111 |
112 static String from_number (short int a); |
112 static String from_number (short int a); |