readTextFile function

Syntax

string readTextFile(filePath)

Parameters

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-2023 Esri R&D Center Zurich. All rights reserved.