Luna::BasicString::insert
void insert(usize index, const BasicString &str, usize index_str, usize count=npos)
Inserts one subrange of another string at the specified position.
Parameters
-
in index
The index to insert the characters.
-
in str
The string to insert.
-
in index_str
The index of the first character in
strto insert. -
in count
The number of characters to insert. If
countis greater thanstr.size() - index_str, onlystr.size() - index_strcharacters will be inserted.