readTextFile function
Syntax
string readTextFile(filePath)
Parameters
- filePath (string)
Name of the text 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. Lineendings are converted to '\n', unprintable control characters are replaced with '?'.
Related
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.