template<class T, class Traits>
int db::BasicString< T, Traits >::replace ( int  pos,
int  remove,
value,
int  insert 
) [inline]

Replace a portion of the string with a character, possibly repeated several times.

Any part of the string after pos that is not removed will be moved to make room for the inserted character(s).

Parameters:
pos Position in the string at which to begin replacement.
remove Number of characters to remove from the string.
value Character to insert at pos.
insert Number of times to insert value.
Returns:


Copyright © 2005-2008 ITTIA®. All rights reserved.