Syntax
- string readTextFile(filePath)
Parameters
- filePath—stringName of the table file to read. See Asset Search for information about search locations. Supported extension is .txt.
Returns
The content of filePath as a string.
Description
The readTextFile function reads the text file filePath. Supported encodings are ASCII, UTF-8 and UTF-16. Line endings are converted to '\n', unprintable control characters are replaced with '?'.