@@ -632,10 +632,23 @@ * OF_INVALID_INDEX as start position if it was not found */ - (of_range_t)rangeOfString: (OFString*)string options: (of_string_search_options_t)options; +/** + * \brief Returns the range of the string in the specified range. + * + * \param string The string to search + * \param options Options modifying search behaviour + * \param range The range in which to search + * \return The range of the first occurrence of the string or a range with + * OF_INVALID_INDEX as start position if it was not found + */ +- (of_range_t)rangeOfString: (OFString*)string + options: (of_string_search_options_t)options + range: (of_range_t)range; + /** * \brief Returns whether the string contains the specified string. * * \param string The string to search * \return Whether the string contains the specified string