Javascript File writeln

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Writes a string and appends a \n to the end into a file

Synopsis

writeln(string)
  • string - the data to write

Example

var fd = new File("/tmp/blah");
fd.writeln("this is a test!");

See Also