TextFile - lainz/lainzcodestudio GitHub Wiki
#TextFile.ReadToString Reads the content of a text file and returns it as a string.
result_string = TextFile.ReadToString("C:\\temp\\text.txt")
#TextFile.ReadToTable Reads the content of a text file and returns it as a table.
result_table = TextFile.ReadToTable("C:\\temp\\text.txt")
#TextFile.WriteFromString Writes a string of text to a text file.
Parameters: Filename, Text, Append
TextFile.WriteFromString("C:\\temp\\text.txt", "Hello text file", false)
#TextFile.WriteFromTable Writes a table to a text file.
Parameters: Filename, Table, Append
TextFile.WriteFromTable("C:\\temp\\test.txt", {"One", "Two", "Three"}, false)