std.stringio.SaveString - nitrologic/monkey2 GitHub Wiki

std::std.stringio.SaveString

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

Saves a string to a file.

Parameters
str str The string to save.
path path The path of the file.
fixeols fixeols If true, converts eols to UNIX "~n" eols before saving.