diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-08-07 13:56:46 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-08-07 13:56:46 +0000 |
commit | 6e373f869a2221934e1799f9e0fc5ec2ae132c03 (patch) | |
tree | c9db92f1ce54bd2b8a48ea0f45bb295625f68565 | |
parent | 0ce1d7b9a4ef5e3a88e2063d4811d192d7a27ef7 (diff) |
INTEGRATION: CWS sb5 (1.16.28); FILE MERGED
2003/07/01 15:08:08 sb 1.16.28.1: #105108# Improved documentation of various 'match' functions.
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index 5e6f82274d42..4e7e7c5178aa 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ustring.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: rt $ $Date: 2003-04-17 13:56:42 $ + * last change: $Author: hr $ $Date: 2003-08-07 14:56:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -377,11 +377,10 @@ public: } /** - Perform a comparison of a substring in this string. + Match against a substring appearing in this string. - The result is true if and only if second string - represents the same sequence of characters in the first string at - the given position. + The result is true if and only if the second string appears as a substring + of this string, at the given position. This function can't be used for language specific comparison. @param str the object (substring) to be compared. @@ -399,11 +398,11 @@ public: } /** - Perform a ASCII lowercase comparison of a substring in this string. + Match against a substring appearing in this string, ignoring the case of + ASCII letters. - The result is true if and only if second string - represents the same sequence of characters in the first string at - the given position. + The result is true if and only if the second string appears as a substring + of this string, at the given position. Character values between 65 and 90 (ASCII A-Z) are interpreted as values between 97 and 122 (ASCII a-z). This function can't be used for language specific comparison. @@ -591,11 +590,10 @@ public: } /** - Perform a comparison of a substring in this string. + Match against a substring appearing in this string. - The result is true if and only if second string - represents the same sequence of characters in the first string at - the given position. + The result is true if and only if the second string appears as a substring + of this string, at the given position. Since this method is optimized for performance, the ASCII character values are not converted in any way. The caller has to make sure that all ASCII characters are in the allowed range between 0 and @@ -618,11 +616,11 @@ public: } /** - Perform a ASCII lowercase comparison of a substring in this string. + Match against a substring appearing in this string, ignoring the case of + ASCII letters. - The result is true if and only if second string - represents the same sequence of characters in the first string at - the given position. + The result is true if and only if the second string appears as a substring + of this string, at the given position. Character values between 65 and 90 (ASCII A-Z) are interpreted as values between 97 and 122 (ASCII a-z). Since this method is optimized for performance, the ASCII character |