Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString & UnicodeString::setTo ( const UnicodeString srcText  )  [inline]

Set the text in the UnicodeString object to the characters in srcText. srcText is not modified.

Parameters:
srcText the source for the new characters
Returns:
a reference to this ICU 2.0

Definition at line 4269 of file unistr.h.

References length().

{
  unBogus();
  return doReplace(0, length(), srcText, 0, srcText.length());
}


Generated by  Doxygen 1.6.0   Back to index