Luna::BasicString::replace
void replace(usize pos, usize count, const value_type *cstr, usize count2)
Replaces characters in range [pos
, pos + count
) with a character array [cstr
, cstr + count2). @param[in] pos The index of the first character to replace. @param[in] count The number of characters to replace. If
pos + countis greater than
this->size(),
countwill be clamped to
this->size() - pos. @param[in] cstr The pointer to the character array to use for replacement. @param[in] count2 The number of characters in
cstrto use for replacement. @par Valid Usage *
posmust not be greater than
this->size()`.