Appends a string to the end of a file, creating it first if it does not exist. The same extension rules as writefile apply.

Parameters

string
required
The file path.
string
required
The string to append.

Example

Errors