Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & UnicodeString::insert ( int32_t  start,
const UnicodeString srcText,
int32_t  srcStart,
int32_t  srcLength 
) [inline]

Insert the characters in srcText in the range [srcStart, srcStart + srcLength) into the UnicodeString object at offset start. srcText is not modified.

Parameters:
start the offset where the insertion begins
srcText the source for the new characters
srcStart the offset into srcText where new characters will be obtained
srcLength the number of characters in srcText in the insert string
Returns:
a reference to this

Definition at line 3703 of file unistr.h.

Referenced by UnicodeSet::_applyPattern(), DecimalFormat::addPadding(), copy(), Transliterator::getDisplayName(), TransliteratorIDParser::parseGlobalFilter(), RuleBasedBreakIteratorBuilder::processSubstitution(), RuleBasedBreakIteratorBuilder::setUpErrorMessage(), TransliteratorIDParser::specsToID(), UnicodeStringTest::TestBasicManipulation(), UnicodeStringTest::TestStackAllocation(), DecimalFormat::toPattern(), StringReplacer::toReplacerPattern(), Transliterator::toRules(), and UnicodeSet::UnicodeSet().

{ return doReplace(start, 0, srcText, srcStart, srcLength); }


Generated by  Doxygen 1.6.0   Back to index