saveStrings(file, strings)

Writes an array of strings to a file, one line per string. If the given file exists it gets overridden.

Type: function

Parameter(s):

  • file {String | File}:

    The file name or a File instance

  • strings {Array}:

    The string array to be written

Returns:

  • {File}:

    The file the strings were written to.