]> granicus.if.org Git - icu/commitdiff
ICU-10178 clarify UnicodeString::compare
authorSteven R. Loomis <srl@icu-project.org>
Wed, 4 Sep 2013 04:40:58 +0000 (04:40 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Wed, 4 Sep 2013 04:40:58 +0000 (04:40 +0000)
X-SVN-Rev: 34180

icu4c/source/common/unicode/unistr.h

index e70af40ebd7f60f2a66d3fcd5bd2ea31ffde85c3..e5a92c3fcdcf4eba7f5b758dc16aefce42f235a2 100644 (file)
@@ -341,7 +341,8 @@ public:
   /**
    * Compare the characters bitwise in the range
    * [<TT>start</TT>, <TT>start + length</TT>) with the characters
-   * in <TT>text</TT>
+   * in the <b>entire string</b> <TT>text</TT>.
+   * (The parameters "start" and "length" are not applied to the other text "text".)
    * @param start the offset at which the compare operation begins
    * @param length the number of characters of text to compare.
    * @param text the other text to be compared against this string.