Hi,
StringToFile
– This stores a string in the provided file document. Multiple encodings are supported since version 7.4.1 of the module.
Doc:
Value – string // The value which needs to be added in file document.
Destination – File document // Pass the file document object
encoding – default UTF-8 // Select the encoding
Stores a string into the provided FileDocument, using the specified encoding.