Indy 9
|
procedure SplitColumns(const AData: String; AStrings: TStrings; const ADelim: String = ' ');
SplitColumns will clear the contents of AStrings prior to separating AData into lines. As lines are are located in AData, the TStrings.AddObject method is called to add the string value and a pointer to the integer position for the string value to the AStrings instance.
SplitColumns is used when TIdFTPListItems an FTP response into the columns used for an FTP listing.