 |
 |
 |
 |
| Name |
|
saveStrings() |
 |
|
|
| Examples |
|
String words = "apple bear cat dog";
String list[] = splitStrings(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 |
|
| filename |
|
filename for output
|
| strings |
|
string array to be written
|
|
 |
|
|
| Usage |
|
Application |
 |
|
|
| Related |
|
loadStrings() loadBytes() saveBytes() |
|
|