@@ -305,10 +305,16 @@ * \return The index of the last occurrence of the string or SIZE_MAX if it * was not found */ - (size_t)indexOfLastOccurrenceOfString: (OFString*)str; +/** + * \param str The string to search + * \return Whether the string contains the specified string + */ +- (BOOL)containsString: (OFString*)str; + /** * \param start The index where the substring starts * \param end The index where the substring ends. * This points BEHIND the last character! * \return The substring as a new autoreleased OFString