| 210 | } |
| 211 | |
| 212 | bool String::endsWith( const String &suffix ) |
| 213 | { |
| 214 | unsigned int l1 = length(); |
| 215 | unsigned int l2 = suffix.length(); |
| 216 | return l1 >= l2 && _super.compare( l1 - l2, l2, suffix._super ) == 0; |
| 217 | } |
| 218 | |
| 219 | std::ostream &operator<<( std::ostream &stream, const String &string ); |
| 220 |
no test coverage detected