Usage

append_content(file, content[, encoding = "UTF-8"])

Description
Appends the given content to the given file.

Note
The encoding parameter is used when writing the data to the file. The default (UTF-8) rarely needs to be changed but can be very useful when working with binary strings.

Example

append_content(first(find('File', 'name', 'test.txt')), '\nAdditional Content')

Graph-Browser

Related Articles
About this article
Last change 2018-05-08
Topics