View Problem

Write a string to a file

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

Submit a new solution for fantom
There are 19 other solutions in additional languages (clojure, cpp, csharp, erlang ...)