Skip to main content

LoadTextData

LoadTextData Function

Gets text data from the specified file using the specified encoding.

Syntax

LoadTextData (scalar File name, scalar Encoding)

Arguments

ArgumentDescription
scalar File nameName of the file from which text data should be returned
scalar EncodingType of encoding ; null for auto detected encoding

Examples:

LoadTextData("Program Files\RISE\4.3\Data Process Logic Studio\Readme.htm","UTF-8")

Returns the text data from the specified file with UTF-8 encoding.

LoadTextData("Program Files\RISE\4.3\Data Process Logic Studio\Readme.htm"",null)

Returns the text data from the specified file with detected encoding.

LoadTextData("Program Files\RISE\4.3\Data Process Logic Studio \Readme.htm","ASCII")

Returns the text data from the specified file with ASCII encoding.