erase
Delete substrings within strings
Description
Examples
Input Arguments
Tips
To delete multiple occurrences of a match when the occurrences overlap, use the
strrep
function.erase
only deletes the first occurrence when occurrences overlap.
Delete substrings within strings
To delete multiple occurrences of a match when the
occurrences overlap, use the strrep
function. erase
only
deletes the first occurrence when occurrences overlap.