readAllText

File.readAllText(filename)

Parameters

filename Path of file to read.

Returns

All text contained within the file as a string.

Description

Reads and returns all the text contained with the file at filename as a string.