FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 872 : error on sample code: splitStrings v0135
Last modified: 2008-08-12 23:40
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Bernard
Assigned To:
REAS
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-08-11 15:19
this seems to be fixed on the site but the downloaded reference is wrong...
file:///Applications/Processing%200135/reference/saveStrings_.html
--------------------------------------------------------------------------------------
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);
--------------------------------------------------------------------------------------
String list[] = splitStrings(words);
should be....
String list[] = split(words, ' ');
Additional Comment
#1 From REAS 2008-08-12 23:40
This was fixed in the latest release, v0144