FileList.Strings[i] 是文件路径(含文件名):
StringReplace(FileList.Strings[i],ExtractFilePath(FileList.Strings[i]),'',[rfReplaceAll])
FileList.Strings[i] 是文件路径(含文件名):
StringReplace(FileList.Strings[i],ExtractFilePath(FileList.Strings[i]),'',[rfReplaceAll])
转载于:https://www.cnblogs.com/forads/archive/2010/11/11/2161108.html