- Posts: 65
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.
def line
new File("C:\\Stambia\\test.txt").withReader { line = it.readLine() }
__ctx__.publishVariable("~/firstLine",line)
def line
new File("C:\\Stambia\\test.txt").withReader('UTF-8') { line = it.readLine() }
__ctx__.publishVariable("~/firstLine",line)