write Str
Writes the given UTF-8-encoded string into a file at the given path.
Parameters
contents
the string to write.Content copied to clipboard
path
a fully qualified path.Content copied to clipboard
Throws
if an I/O error occurs.Content copied to clipboard