how can I delete from a string a couple of lines I have indexed
7 views (last 30 days)
Cris LaPierre on 8 Nov 2021
Edited: Cris LaPierre on 8 Nov 2021
If it is a string array, and you want to remove a portion of a string in the array consider using eraseBetween:
If you have an array where each row contains a string, and you just want to remove entire rows, use indexing to set those rows equal to .
myStr(rmvPositions) = ;