I have a stringgrid that could contain something like this in the second column:
When a line contains ".cgi", I want "xxx" inserted into the first column of every row containing the same first word before he "\". The first word of the line containing ".cgi" is "folder2" so "xxx" must be placed in all other rows starting with "folder2":
I am using Delphi 6. Your help would be greatly appreciated.