<html> <head> <title>Global Functions in Namespace in Sourcefile ustring.h</title> <link rel="stylesheet" type="text/css" href="../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainnone"> Class </td> <td class="navimain"> <a href="../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"></table> <hr> <div class="title"><h2>Global Functions in Global Namespace C++<br> in Sourcefile ustring.h</h2> </div><hr> <dl class="member"> <dt class="member"><a name="rtl_string2UString-1692"> </a>rtl_string2UString</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_string2UString</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td><a href="t-rtl_TextEncoding.html">rtl_TextEncoding</a></td> <td>encoding,</td> </tr> <tr> <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> <td>convertFlags );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new Unicode string by converting a byte string, using a specific text encoding. </dd> <dt>Description</dt> <dd>The lengths of the byte string and the Unicode string may differ (e.g., for double-byte encodings, UTF-7, UTF-8). If the length of the byte string is greater than zero, the reference count of the new string will be 1. If an out-of-memory condition occurs, newStr will point to a null pointer upon return. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre>pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a byte character array. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre>the length of the byte character array. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">encoding</td> <td><pre>the text encoding to use for conversion. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">convertFlags</td> <td><pre>flags which control the conversion. Either use OSTRING_TO_OUSTRING_CVTFLAGS, or see <http://udk.openoffice.org/cpp/man/spec/textconversion.html> for more details. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_acquire-1673"> </a>rtl_uString_acquire</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_acquire</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Increment the reference count of a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_assign-1682"> </a>rtl_uString_assign</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_assign</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> str,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>rightValue );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Assign a new value to a string. </dd> <dt>Description</dt> <dd> First releases any value str might currently hold, then acquires rightValue. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> pointer to the string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rightValue</td> <td><pre> a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_getLength-1683"> </a>rtl_uString_getLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_uString_getLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-rtl_uString.html">rtl_uString</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return the length of a string. </dd> <dt>Description</dt> <dd> The length is equal to the number of characters in the string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a valid string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_getStr-1684"> </a>rtl_uString_getStr</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Unicode.html">sal_Unicode</a> * <strong>rtl_uString_getStr</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return a pointer to the underlying character array of a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a valid string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> a pointer to the null-terminated character array. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_getToken-1691"> </a>rtl_uString_getToken</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_uString_getToken</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>token,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>cTok,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>idx );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by extracting a single token from another string. </dd> <dt>Description</dt> <dd> Starting at index, the token's next token is searched for. If there is no such token, the result is an empty string. Otherwise, all characters from the start of that token and up to, but not including the next occurrence of cTok make up the resulting token. The return value is the position of the next token, or -1 if no more tokens follow. Example code could look like rtl_uString * pToken = NULL; sal_Int32 nIndex = 0; do { ... nIndex = rtl_uString_getToken(&pToken, pStr, 0, ';', nIndex); ... } while (nIndex >= 0); The new string does not necessarily have a reference count of 1, so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. If either token or index is negative, an empty token is stored in newStr (and -1 is returned). </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">token</td> <td><pre> the number of the token to return, starting at index. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">cTok</td> <td><pre> the character that seperates the tokens. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">index</td> <td><pre> the position at which searching for the token starts. Must not be greater than the length of str. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index of the next token, or -1 if no more tokens follow. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_intern-1693"> </a>rtl_uString_intern</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_intern</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return a canonical representation for a string. </dd> <dt>Description</dt> <dd> A pool of strings, initially empty is maintained privately by the string class. On invocation, if present in the pool the original string will be returned. Otherwise this string, or a copy thereof will be added to the pool and returned. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. If an out-of-memory condition occurs, newStr will point to a null pointer upon return. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> pointer to the string to be interned. </pre></td> </tr> </table> </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_internConvert-1694"> </a>rtl_uString_internConvert</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_internConvert</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td><a href="t-rtl_TextEncoding.html">rtl_TextEncoding</a></td> <td>encoding,</td> </tr> <tr> <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> <td>convertFlags,</td> </tr> <tr> <td><a href="t-sal_uInt32.html">sal_uInt32</a> *</td> <td>pInfo );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return a canonical representation for a string. </dd> <dt>Description</dt> <dd> A pool of strings, initially empty is maintained privately by the string class. On invocation, if present in the pool the original string will be returned. Otherwise this string, or a copy thereof will be added to the pool and returned. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. If an out-of-memory condition occurs, newStr will point to a null pointer upon return. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a byte character array. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the byte character array. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">encoding</td> <td><pre> the text encoding to use for conversion. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">convertFlags</td> <td><pre> flags which control the conversion. Either use OSTRING_TO_OUSTRING_CVTFLAGS, or see <http://udk.openoffice.org/cpp/man/spec/textconversion.html> for more details. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pInfo</td> <td><pre> pointer to return conversion status in, or NULL. </pre></td> </tr> </table> </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_iterateCodePoints-1695"> </a>rtl_uString_iterateCodePoints</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_uInt32.html">sal_uInt32</a> <strong>rtl_uString_iterateCodePoints</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-rtl_uString.html">rtl_uString</a> * </td> <td> string,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a> *</td> <td>indexUtf16,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>incrementCodePoints );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Iterate through a string based on code points instead of UTF-16 code units. </dd> <dt>Description</dt> <dd> See Chapter 3 of The Unicode Standard 5.0 (Addison--Wesley, 2006) for definitions of the various terms used in this description. The given string is interpreted as a sequence of zero or more UTF-16 code units. For each index into this sequence (from zero to one less than the length of the sequence, inclusive), a code point represented starting at the given index is computed as follows: - If the UTF-16 code unit addressed by the index constitutes a well-formed UTF-16 code unit sequence, the computed code point is the scalar value encoded by that UTF-16 code unit sequence. - Otherwise, if the index is at least two UTF-16 code units away from the end of the sequence, and the sequence of two UTF-16 code units addressed by the index constitutes a well-formed UTF-16 code unit sequence, the computed code point is the scalar value encoded by that UTF-16 code unit sequence. - Otherwise, the computed code point is the UTF-16 code unit addressed by the index. (This last case catches unmatched surrogates as well as indices pointing into the middle of surrogate pairs.) </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">string</td> <td><pre> pointer to a valid string; must not be null. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">indexUtf16</td> <td><pre> pointer to a UTF-16 based index into the given string; must not be null. On entry, the index must be in the range from zero to the length of the string (in UTF-16 code units), inclusive. Upon successful return, the index will be updated to address the UTF-16 code unit that is the given incrementCodePoints away from the initial index. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">incrementCodePoints</td> <td><pre> the number of code points to move the given *indexUtf16. If non-negative, moving is done after determining the code point at the index. If negative, moving is done before determining the code point at the (then updated) index. The value must be such that the resulting UTF-16 based index is in the range from zero to the length of the string (in UTF-16 code units), inclusive. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the code point (an integer in the range from 0 to 0x10FFFF, inclusive) that is represented within the string starting at the index computed as follows: If incrementCodePoints is non-negative, the index is the initial value of *indexUtf16; if incrementCodePoints is negative, the index is the updated value of *indexUtf16. In either case, the computed index must be in the range from zero to one less than the length of the string (in UTF-16 code units), inclusive. </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_new-1675"> </a>rtl_uString_new</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_new</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string containing no characters. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newConcat-1685"> </a>rtl_uString_newConcat</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newConcat</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>left,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>right );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string that is the concatenation of two other strings. </dd> <dt>Description</dt> <dd> The new string does not necessarily have a reference count of 1 (in cases where one of the two other strings is empty), so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">left</td> <td><pre> a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">right</td> <td><pre> a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newFromAscii-1680"> </a>rtl_uString_newFromAscii</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newFromAscii</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>value );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string that contains a copy of a character array. </dd> <dt>Description</dt> <dd> If the length of value is greater than zero, the reference count of the new string will be 1. This function does not handle out-of-memory conditions. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">value</td> <td><pre> a null-terminated ASCII character array. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newFromCodePoints-1681"> </a>rtl_uString_newFromCodePoints</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newFromCodePoints</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newString,</td> </tr> <tr> <td>const <a href="t-sal_uInt32.html">sal_uInt32</a> *</td> <td>codePoints,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>codePointCount );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string from an array of Unicode code points. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newString</td> <td><pre> a non-null pointer to a (possibly null) rtl_uString pointer, which (if non-null) will have been passed to rtl_uString_release before the function returns. Upon return, points to the newly allocated string or to null if there was either an out-of-memory condition or the resulting number of UTF-16 code units would have been larger than SAL_MAX_INT32. The newly allocated string (if any) must ultimately be passed to rtl_uString_release. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">codePoints</td> <td><pre> an array of at least codePointCount code points, which each must be in the range from 0 to 0x10FFFF, inclusive. May be null if codePointCount is zero. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">codePointCount</td> <td><pre> the non-negative number of code points. </pre></td> </tr> </table> </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newFromStr-1678"> </a>rtl_uString_newFromStr</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newFromStr</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>value );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string that contains a copy of a character array. </dd> <dt>Description</dt> <dd> If the length of value is greater than zero, the reference count of the new string will be 1. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">value</td> <td><pre> a null-terminated character array. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newFromStr_WithLength-1679"> </a>rtl_uString_newFromStr_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newFromStr_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>value,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string that contains a copy of a character array. </dd> <dt>Description</dt> <dd> If the length of value is greater than zero, the reference count of the new string will be 1. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">value</td> <td><pre> a character array. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the character array. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newFromString-1677"> </a>rtl_uString_newFromString</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newFromString</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td>const <a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>value );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string that contains a copy of another string. </dd> <dt>Description</dt> <dd> If the length of value is greater than zero, the reference count of the new string will be 1. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">value</td> <td><pre> a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newReplace-1687"> </a>rtl_uString_newReplace</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newReplace</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>oldChar,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>newChar );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by replacing all occurrences of a single character within another string. </dd> <dt>Description</dt> <dd>The new string results from replacing all occurrences of oldChar in str with newChar. The new string does not necessarily have a reference count of 1 (in cases where oldChar does not occur in str), so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre>pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">oldChar</td> <td><pre>the old character. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newChar</td> <td><pre>the new character. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newReplaceStrAt-1686"> </a>rtl_uString_newReplaceStrAt</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newReplaceStrAt</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>idx,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>count,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>subStr );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by replacing a substring of another string. </dd> <dt>Description</dt> <dd> The new string results from replacing a number of characters (count), starting at the specified position (index) in the original string (str), with some new substring (subStr). If subStr is null, than only a number of characters is deleted. The new string does not necessarily have a reference count of 1, so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">index</td> <td><pre> the index into str at which to start replacement. Must be between 0 and the length of str, inclusive. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">count</td> <td><pre> the number of charcters to remove. Must not be negative, and the sum of index and count must not exceed the length of str. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> either null or a valid string to be inserted. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newToAsciiLowerCase-1688"> </a>rtl_uString_newToAsciiLowerCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newToAsciiLowerCase</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by converting all ASCII uppercase letters to lowercase within another string. </dd> <dt>Description</dt> <dd>The new string results from replacing all characters with values between 65 and 90 (ASCII A--Z) by values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific conversion. The new string does not necessarily have a reference count of 1 (in cases where no characters need to be converted), so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre>pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newToAsciiUpperCase-1689"> </a>rtl_uString_newToAsciiUpperCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newToAsciiUpperCase</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by converting all ASCII lowercase letters to uppercase within another string. </dd> <dt>Description</dt> <dd>The new string results from replacing all characters with values between 97 and 122 (ASCII a--z) by values between 65 and 90 (ASCII A--Z). This function cannot be used for language-specific conversion. The new string does not necessarily have a reference count of 1 (in cases where no characters need to be converted), so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre>pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_newTrim-1690"> </a>rtl_uString_newTrim</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_newTrim</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> *</td> <td>str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create a new string by removing white space from both ends of another string. </dd> <dt>Description</dt> <dd>The new string results from removing all characters with values less than or equal to 32 (the space character) form both ends of str. This function cannot be used for language-specific conversion. The new string does not necessarily have a reference count of 1 (in cases where no characters need to be removed), so it must not be modified without checking the reference count. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre>pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre>a valid string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_new_WithLength-1676"> </a>rtl_uString_new_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_new_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * * </td> <td> newStr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>nLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Allocate a new string containing space for a given number of characters. </dd> <dt>Description</dt> <dd> If len is greater than zero, the reference count of the new string will be 1. The values of all characters are set to 0 and the length of the string is 0. This function does not handle out-of-memory conditions. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newStr</td> <td><pre> pointer to the new string. The pointed-to data must be null or a valid string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the number of characters. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_uString_release-1674"> </a>rtl_uString_release</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_uString_release</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Decrement the reference count of a string. </dd> <dt>Description</dt> <dd> If the count goes to zero than the string data is deleted. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_compare-1629"> </a>rtl_ustr_ascii_compare</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_compare</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. Both strings must be null-terminated. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first null-terminated string to be compared. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_compareIgnoreAsciiCase-1633"> </a>rtl_ustr_ascii_compareIgnoreAsciiCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_compareIgnoreAsciiCase</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. Both strings must be null-terminated. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first null-terminated string to be compared. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength-1634"> </a>rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths-1635"> </a>rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const char *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_compare_WithLength-1630"> </a>rtl_ustr_ascii_compare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_compare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength-1636"> </a>rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>shortenedLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings with a maximum count of characters, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd>The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre>the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre>the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre>the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">shortenedLen</td> <td><pre>the maximum number of characters to compare. This length can be greater or smaller than the lengths of the two strings. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_ascii_shortenedCompare_WithLength-1631"> </a>rtl_ustr_ascii_shortenedCompare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_ascii_shortenedCompare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>shortenedLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings with a maximum count of characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated ASCII string which is compared with the first one. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">shortenedLen</td> <td><pre> the maximum number of characters to compare. This length can be greater or smaller than the lengths of the two strings. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_asciil_reverseCompare_WithLength-1632"> </a>rtl_ustr_asciil_reverseCompare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_asciil_reverseCompare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings from back to front. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. Since this function 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 of 0 and 127, inclusive. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second ASCII string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string compares less than the second string, and a value greater than 0 if the first string compares greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_asciil_reverseEquals_WithLength-1625"> </a>rtl_ustr_asciil_reverseEquals_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>rtl_ustr_asciil_reverseEquals_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td>const <a href="t-sal_Char.html">sal_Char</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings from back to front for equality. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns 'true' if, ans only if, both strings are equal. This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of both strings. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> true if both strings are equal, false if they are not equal. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_compare-1621"> </a>rtl_ustr_compare</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_compare</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. Both strings must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first null-terminated string to be compared. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_compareIgnoreAsciiCase-1626"> </a>rtl_ustr_compareIgnoreAsciiCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_compareIgnoreAsciiCase</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. Both strings must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first null-terminated string to be compared. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second null-terminated string which is compared with the first one. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_compareIgnoreAsciiCase_WithLength-1627"> </a>rtl_ustr_compareIgnoreAsciiCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_compareIgnoreAsciiCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_compare_WithLength-1622"> </a>rtl_ustr_compare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_compare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string is less than the second string, and a value greater than 0 if the first string is greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_getLength-1620"> </a>rtl_ustr_getLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_getLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return the length of a string. </dd> <dt>Description</dt> <dd> The length is equal to the number of 16-bit Unicode characters in the string, without the terminating NUL character. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the sequence of characters represented by this string, excluding the terminating NUL character. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_hashCode-1637"> </a>rtl_ustr_hashCode</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_hashCode</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return a hash code for a string. </dd> <dt>Description</dt> <dd> It is not allowed to store the hash code persistently, because later versions could return other hash codes. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> a hash code for the given string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_hashCode_WithLength-1638"> </a>rtl_ustr_hashCode_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_hashCode_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Return a hash code for a string. </dd> <dt>Description</dt> <dd> It is not allowed to store the hash code persistently, because later versions could return other hash codes. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> a hash code for the given string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_indexOfAscii_WithLength-1645"> </a>rtl_ustr_indexOfAscii_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_indexOfAscii_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>const char *</td> <td>subStr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>subLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the first occurrence of an ASCII substring within a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string; must be non-negative. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the substring to be searched for. Need not be null-terminated, but must be at least as long as the specified subLen. Must only contain characters in the ASCII range 0x00--7F. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subLen</td> <td><pre> the length of the substring; must be non-negative. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the first occurrence of the substring within the string, or -1 if the substring does not occur. If subLen is zero, -1 is returned. </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_indexOfChar-1639"> </a>rtl_ustr_indexOfChar</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_indexOfChar</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the first occurrence of a character within a string. </dd> <dt>Description</dt> <dd> The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre> the character to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first occurrence of the character in the string, or -1 if the character does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_indexOfChar_WithLength-1640"> </a>rtl_ustr_indexOfChar_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_indexOfChar_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the first occurrence of a character within a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre> the character to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first occurrence of the character in the string, or -1 if the character does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_indexOfStr-1643"> </a>rtl_ustr_indexOfStr</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_indexOfStr</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>subStr );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the first occurrence of a substring within a string. </dd> <dt>Description</dt> <dd> If subStr is empty, or both str and subStr are empty, -1 is returned. Both strings must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the null-terminated substring to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the first occurrence of the substring within the string, or -1 if the substring does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_indexOfStr_WithLength-1644"> </a>rtl_ustr_indexOfStr_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_indexOfStr_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>subStr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>subLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the first occurrence of a substring within a string. </dd> <dt>Description</dt> <dd> If subStr is empty, or both str and subStr are empty, -1 is returned. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the substring to be searched for. Need not be null-terminated, but must be at least as long as the specified subLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subLen</td> <td><pre> the length of the substring. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the first occurrence of the substring within the string, or -1 if the substring does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_lastIndexOfAscii_WithLength-1648"> </a>rtl_ustr_lastIndexOfAscii_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_lastIndexOfAscii_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>const char *</td> <td>subStr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>subLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the last occurrence of an ASCII substring within a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string; must be non-negative. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the substring to be searched for. Need not be null-terminated, but must be at least as long as the specified subLen. Must only contain characters in the ASCII range 0x00--7F. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subLen</td> <td><pre> the length of the substring; must be non-negative. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the last occurrence of the substring within the string, or -1 if the substring does not occur. If subLen is zero, -1 is returned. </dd> <dt>Since </dt> <dd>UDK 3.2.7</dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_lastIndexOfChar-1641"> </a>rtl_ustr_lastIndexOfChar</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_lastIndexOfChar</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the last occurrence of a character within a string. </dd> <dt>Description</dt> <dd> The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre> the character to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the last occurrence of the character in the string, or -1 if the character does not occur. The returned value is always smaller than the string length. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_lastIndexOfChar_WithLength-1642"> </a>rtl_ustr_lastIndexOfChar_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_lastIndexOfChar_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the last occurrence of a character within a string. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre> the character to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the last occurrence of the character in the string, or -1 if the character does not occur. The returned value is always smaller than the string length. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_lastIndexOfStr-1646"> </a>rtl_ustr_lastIndexOfStr</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_lastIndexOfStr</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>subStr );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the last occurrence of a substring within a string. </dd> <dt>Description</dt> <dd> If subStr is empty, or both str and subStr are empty, -1 is returned. Both strings must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the null-terminated substring to be searched for. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the last occurrence of the substring within the string, or -1 if the substring does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_lastIndexOfStr_WithLength-1647"> </a>rtl_ustr_lastIndexOfStr_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_lastIndexOfStr_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>subStr,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>subLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Search for the last occurrence of a substring within a string. </dd> <dt>Description</dt> <dd> If subStr is empty, or both str and subStr are empty, -1 is returned. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subStr</td> <td><pre> the substring to be searched for. Need not be null-terminated, but must be at least as long as the specified subLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">subLen</td> <td><pre> the length of the substring. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the index (starting at 0) of the first character of the first occurrence of the substring within the string, or -1 if the substring does not occur. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_replaceChar-1649"> </a>rtl_ustr_replaceChar</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_replaceChar</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>oldChar,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>newChar );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Replace all occurrences of a single character within a string. </dd> <dt>Description</dt> <dd> If oldChar does not occur within str, then the string is not modified. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">oldChar</td> <td><pre> the old character. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newChar</td> <td><pre> the new character. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_replaceChar_WithLength-1650"> </a>rtl_ustr_replaceChar_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_replaceChar_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>oldChar,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>newChar );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Replace all occurrences of a single character within a string. </dd> <dt>Description</dt> <dd> If oldChar does not occur within str, then the string is not modified. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">oldChar</td> <td><pre> the old character. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">newChar</td> <td><pre> the new character. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_reverseCompare_WithLength-1624"> </a>rtl_ustr_reverseCompare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_reverseCompare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings from back to front. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both strings are equal, a value less than 0 if the first string compares less than the second string, and a value greater than 0 if the first string compares greater than the second string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength-1628"> </a>rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>shortenedLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings with a maximum count of characters, ignoring the case of ASCII characters. </dd> <dt>Description</dt> <dd>The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. Character values between 65 and 90 (ASCII A--Z) are interpreted as values between 97 and 122 (ASCII a--z). This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre>the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre>the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre>the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre>the length of the second string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">shortenedLen</td> <td><pre>the maximum number of characters to compare. This length can be greater or smaller than the lengths of the two strings. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_shortenedCompare_WithLength-1623"> </a>rtl_ustr_shortenedCompare_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_shortenedCompare_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> first,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>firstLen,</td> </tr> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> *</td> <td>second,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>secondLen,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>shortenedLen );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Compare two strings with a maximum count of characters. </dd> <dt>Description</dt> <dd> The comparison is based on the numeric value of each character in the strings and returns a value indicating their relationship. This function cannot be used for language-specific sorting. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">first</td> <td><pre> the first string to be compared. Need not be null-terminated, but must be at least as long as the specified firstLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">firstLen</td> <td><pre> the length of the first string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">second</td> <td><pre> the second string which is compared with the first one. Need not be null-terminated, but must be at least as long as the specified secondLen. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">secondLen</td> <td><pre> the length of the second string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">shortenedLen</td> <td><pre> the maximum number of characters to compare. This length can be greater or smaller than the lengths of the two strings. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> 0 if both substrings are equal, a value less than 0 if the first substring is less than the second substring, and a value greater than 0 if the first substring is greater than the second substring. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toAsciiLowerCase-1651"> </a>rtl_ustr_toAsciiLowerCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_toAsciiLowerCase</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Convert all ASCII uppercase letters to lowercase within a string. </dd> <dt>Description</dt> <dd> The characters with values between 65 and 90 (ASCII A--Z) are replaced with values between 97 and 122 (ASCII a--z). The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toAsciiLowerCase_WithLength-1652"> </a>rtl_ustr_toAsciiLowerCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_toAsciiLowerCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Convert all ASCII uppercase letters to lowercase within a string. </dd> <dt>Description</dt> <dd> The characters with values between 65 and 90 (ASCII A--Z) are replaced with values between 97 and 122 (ASCII a--z). </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toAsciiUpperCase-1653"> </a>rtl_ustr_toAsciiUpperCase</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_toAsciiUpperCase</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Convert all ASCII lowercase letters to uppercase within a string. </dd> <dt>Description</dt> <dd> The characters with values between 97 and 122 (ASCII a--z) are replaced with values between 65 and 90 (ASCII A--Z). The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toAsciiUpperCase_WithLength-1654"> </a>rtl_ustr_toAsciiUpperCase_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_ustr_toAsciiUpperCase_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Convert all ASCII lowercase letters to uppercase within a string. </dd> <dt>Description</dt> <dd> The characters with values between 97 and 122 (ASCII a--z) are replaced with values between 65 and 90 (ASCII A--Z). </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the length of the string. </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toBoolean-1663"> </a>rtl_ustr_toBoolean</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Bool.html">sal_Bool</a> <strong>rtl_ustr_toBoolean</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Interpret a string as a boolean. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> true if the string is "1" or "true" in any ASCII case, false otherwise. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toDouble-1667"> </a>rtl_ustr_toDouble</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> double <strong>rtl_ustr_toDouble</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Interpret a string as a double. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the float value represented by the string, or 0.0 if the string does not represent a double. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toFloat-1666"> </a>rtl_ustr_toFloat</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> float <strong>rtl_ustr_toFloat</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Interpret a string as a float. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the float value represented by the string, or 0.0 if the string does not represent a float. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toInt32-1664"> </a>rtl_ustr_toInt32</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_toInt32</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int16.html">sal_Int16</a></td> <td>radix );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Interpret a string as an integer. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">radix</td> <td><pre> the radix. Must be between RTL_USTR_MIN_RADIX (2) and RTL_USTR_MAX_RADIX (36), inclusive. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the integer value represented by the string, or 0 if the string does not represent an integer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_toInt64-1665"> </a>rtl_ustr_toInt64</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int64.html">sal_Int64</a> <strong>rtl_ustr_toInt64</strong>(</dt> <dd><table class="param-table"> <tr> <td>const <a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int16.html">sal_Int16</a></td> <td>radix );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Interpret a string as a long integer. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">radix</td> <td><pre> the radix. Must be between RTL_USTR_MIN_RADIX (2) and RTL_USTR_MAX_RADIX (36), inclusive. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the long integer value represented by the string, or 0 if the string does not represent a long integer. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_trim-1655"> </a>rtl_ustr_trim</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_trim</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Remove white space from both ends of a string. </dd> <dt>Description</dt> <dd> All characters with values less than or equal to 32 (the space character) are considered to be white space. This function cannot be used for language-specific operations. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a null-terminated string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the new length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_trim_WithLength-1656"> </a>rtl_ustr_trim_WithLength</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_trim_WithLength</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>len );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Remove white space from both ends of the string. </dd> <dt>Description</dt> <dd> All characters with values less than or equal to 32 (the space character) are considered to be white space. This function cannot be used for language-specific operations. The string must be null-terminated. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a string. Need not be null-terminated, but must be at least as long as the specified len. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">len</td> <td><pre> the original length of the string. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the new length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfBoolean-1657"> </a>rtl_ustr_valueOfBoolean</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfBoolean</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Bool.html">sal_Bool</a></td> <td>b );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of a boolean. </dd> <dt>Description</dt> <dd> If b is true, the buffer is filled with the string "true" and 5 is returned. If b is false, the buffer is filled with the string "false" and 6 is returned. This function cannot be used for language-specific operations. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFBOOLEAN define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">b</td> <td><pre> a boolean value. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfChar-1658"> </a>rtl_ustr_valueOfChar</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfChar</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a></td> <td>ch );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of a character. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFCHAR define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ch</td> <td><pre> a character value. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfDouble-1662"> </a>rtl_ustr_valueOfDouble</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfDouble</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td>double</td> <td>d );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of a double. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFDOUBLE define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">d</td> <td><pre> a double value. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfFloat-1661"> </a>rtl_ustr_valueOfFloat</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfFloat</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td>float</td> <td>f );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of a float. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific conversion. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFFLOAT define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">f</td> <td><pre> a float value. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfInt32-1659"> </a>rtl_ustr_valueOfInt32</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfInt32</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int32.html">sal_Int32</a></td> <td>i,</td> </tr> <tr> <td><a href="t-sal_Int16.html">sal_Int16</a></td> <td>radix );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of an integer. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific operations. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFINT32 define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">i</td> <td><pre> an integer value. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">radix</td> <td><pre> the radix. Must be between RTL_USTR_MIN_RADIX (2) and RTL_USTR_MAX_RADIX (36), inclusive. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_ustr_valueOfInt64-1660"> </a>rtl_ustr_valueOfInt64</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_Int32.html">sal_Int32</a> <strong>rtl_ustr_valueOfInt64</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_Unicode.html">sal_Unicode</a> * </td> <td> str,</td> </tr> <tr> <td><a href="t-sal_Int64.html">sal_Int64</a></td> <td>l,</td> </tr> <tr> <td><a href="t-sal_Int16.html">sal_Int16</a></td> <td>radix );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Create the string representation of a long integer. </dd> <dt>Description</dt> <dd> This function cannot be used for language-specific operations. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">str</td> <td><pre> a buffer that is big enough to hold the result and the terminating NUL character. You should use the RTL_USTR_MAX_VALUEOFINT64 define to create a buffer that is big enough. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">l</td> <td><pre> a long integer value. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">radix</td> <td><pre> the radix. Must be between RTL_USTR_MIN_RADIX (2) and RTL_USTR_MAX_RADIX (36), inclusive. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> the length of the string. </dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-cppref" --> </body> </html>