@@ -244,10 +244,16 @@ * \return The substring as a new autoreleased OFString */ - (OFString*)substringFromIndex: (size_t)start toIndex: (size_t)end; +/** + * \param range The range of the substring + * \return The substring as a new autoreleased OFString + */ +- (OFString*)substringWithRange: (of_range_t)range; + /** * Creates a new string by appending another string. * * \param str The string to append * \return A new autoreleased OFString with the specified string appended