StringValue | String to append to file. |
FilePath | Path of file to write to. |
If the file does not already exist, this command will create a new one.
This current version does not allow for setting an encoding option. It will always use utf-8.
% String2File 1-2-3 test.txt
% cat test.txt
1-2-3
% AppendString2File 4-5-6 test.txt
% cat test.txt
1-2-3
4-5-6