std.stringio.LoadString - nitrologic/monkey2 GitHub Wiki

std::std.stringio.LoadString

Function LoadString:monkey:monkey.types.String( path:monkey:monkey.types.String,fixeols:monkey:monkey.types.Bool=false )

Loads a string from a file.

An empty string will be returned if the file could not be opened.

Parameters
path path The path of the file.
fixeols fixeols If true, converts eols to UNIX "~n" eols after loading.