| 204 | } |
| 205 | |
| 206 | void String::replaceAll( const String &toReplace, const String &replaceWith ) |
| 207 | { |
| 208 | while ( find( toReplace ) != Super::npos ) |
| 209 | _super.replace( find( toReplace ), toReplace.length(), replaceWith._super ); |
| 210 | } |
| 211 | |
| 212 | bool String::endsWith( const String &suffix ) |
| 213 | { |