read

.read path:{String} lines:{Range = Range.INFINITE} -> String

Return

a string value of the text extracted from the file

Parameters

path

path of the file (with extension)

lines

range of lines to extract from the file. If not specified or infinite, the whole file is read

Throws

if lines is out of bounds