View Subcategory

Write a string to a file

fantom
File(`out.txt`).out.writeChars("some text").flush

Append to a file

fantom
File(`out.txt`).out(true).writeChars("some text").flush