Deleteing from StringList
Posted on 2007-10-10
I have StringList that I need to delete some strings from. I have a starting index number and and ending index number. I want to delete those strings and any that are in-between them. How can I do this? I tried this:
for i := iStart to iEnd do
But I get a ListIndexOutOfBounds error.
Currently, I'm just changing them all to blank, but I'd really like to have them deleted.
How can I delete the strings?