Saves a string as a file. Displays a file save dialog if 'path' is null or blank. Returns an error message if there is an exception, otherwise returns null.
(String string, String path)
| 2300 | 'path' is null or blank. Returns an error message |
| 2301 | if there is an exception, otherwise returns null. */ |
| 2302 | public static String saveString(String string, String path) { |
| 2303 | return write(string, path, false); |
| 2304 | } |
| 2305 | |
| 2306 | /** Appends a string to the end of a file. A newline character ("\n") |
| 2307 | is added to the end of the string before it is written. Returns an |
no test coverage detected