fileToArray

Reads a file into array of string

each element in the returned array is a separate line, excluding the trailing \n character

string[]
fileToArray
(
string fname
)

Return Value

Type: string[]

the lines read from file in array of string

Throws

Exception on failure

Meta