|
GetFileContent |
The function
will return the text content of the file.
Use this function together with FileExists function. |
Examples:
- a:=GetFileContent('C:\tmp\somefile.txt'); // the a
now contains the content of the file
- CopyToClipBoard(GetFileContent('C:\tmp\somefile.txt')); //
will get the content of the file, it is possible now to use
clipboard value to paste values into the web-form or somewhere
else.
|