@@ -882,17 +882,24 @@ * @return The number of bytes the string needs in the specified encoding. */ - (size_t)cStringLengthWithEncoding: (of_string_encoding_t)encoding; /** - * @brief Compares the OFString to another OFString without caring about the - * case. + * @brief Compares the string to another string. + * + * @param string The string to compare the string to + * @return The result of the comparison + */ +- (of_comparison_result_t)compare: (OFString *)string; + +/** + * @brief Compares the string to another string without caring about the case. * - * @param otherString A string to compare with - * @return An of_comparison_result_t + * @param string The string to compare the string to + * @return The result of the comparison */ -- (of_comparison_result_t)caseInsensitiveCompare: (OFString *)otherString; +- (of_comparison_result_t)caseInsensitiveCompare: (OFString *)string; /** * @brief Returns the Unicode character at the specified index. * * @param index The index of the Unicode character to return