Luna::BasicString::erase
void erase(usize index=0, usize count=npos)
Removes count characters from the specified position.
Parameters
-
in index
The index of the first character to remove.
-
in count
The number of characters to remove. If
countis greater thansize() - index, onlysize() - indexcharacters will be removed.