Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 804 Bytes

file.writeAllLines.md

File metadata and controls

23 lines (18 loc) · 804 Bytes

file.writeAllLines

The writeAllLines function is established to write all lines to a text file.

Sample

	file.writeAllLines("myFolder/myFile.txt","abcdefghijklmn","UTF-8");

API

CallingReturning
file . writeAllLines ( path, content )String
file . writeAllLines ( path, content, encoding )String
ParametersTypeDescription
pathStringThe relative text file path to the storage folder.
contentStringThe text value will be saved.
encodingStringThe charset name of the text file. The default value is UTF-8;