Write a list of strings (or a single string) to a text file
import "file" lines = ["line one", "line two", "line three"] file.writeLines "output.txt", lines
There was an error while loading. Please reload this page.