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.
Key Control
— Assign scripts to any keyboard key (press/release), map arrow keys to movement controls; activates when the control has focus (green).
Try it →
File.readAllText(filename)
| filename | Path of file to read. |
Reads and returns all the text contained with the file at filename as a string.