I want to extractnow
I like
this
program.
This
is the reason
why
.this
How can I open the file and filter it?
Thank you!

I want to extractnow
I like
this
program.
This
is the reason
why
.this
Code: Select all
function GetLocalFile(Path: string): string;
var
File: TStringList;
FileName: string;
begin
File:= TStringList.Create;
FileName := Path;
Input('', 'File to read:', FileName);
File.LoadFromFile(FileName);
Result := File.Text;
File.Free;
end;