Function reference
Read the contents of a text file into memory.
Use this function to read the content from XML documents and other text files.

ReadTextFile( ‘Filename’ , ‘‘ANSI/UFT8/UTF16LE/UTF16BE’ )

Argument Description
File Name The name of the file to read.

Data type: String
Returns the file content as text.

Example 1
ReadTextFile( ‘f:\myfolder\myfile.txt’ , ‘UTF8’ )

Last modified: 14 September 2021


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment