okay, I've the following problem:
I like to get a list of all .txt files on my FTP Server in a special folder. I solved this already.
if IdFTP1.DirectoryListing.Count>0 then
for i := 2 to IdFTP1.DirectoryListing.Count - 1 do
with ListViewMain.Items.Add do
Caption:=idftp1.DirectoryListing.Items[i].FileName;
But now, my .txt Files are like this:
Projectname###Date###status.txt
I like to format the filename before loading into the ListView. After the ###'s the string should come into a Subitem. So in the end it should look like this:
ListView Item = Projectname
ListView Subitem1 = Date
ListView SubItem2 = status
How can I do this?