| Name | saveStrings() |
||||
|---|---|---|---|---|---|
| Examples | String words = "apple bear cat dog";
String[] list = split(words, ' ');
// now write the strings to a file, each on a separate line
saveStrings("nouns.txt", list);
|
||||
| Description | Writes an array of strings to a file, one line per string. This file is saved to the sketch's folder, which is opened by selecting "Show sketch folder" from the "Sketch" menu. |
||||
| Syntax | saveStrings(filename,strings) |
||||
| Parameters |
|
||||
| Returns | None | ||||
| Usage | Web & Application | ||||
| Related | loadStrings() loadBytes() saveBytes() |