We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
splitStrings (Read 577 times)
splitStrings
Feb 24th, 2006, 5:45pm
 
I am attempting to import an old program from Processing66 into the the new distribution and am having some problems. It has been a good two years or so it seems since using the program, and since I am trying to get back under way I may be absolutely missing something. But here is the piece of violating code anyway:

String nesia = "PDRM0015.JPG PDRM0016.JPG PDRM0017.JPG PDRM0018.JPG";
 String nesia_break[] = splitStrings(nesia);
 BImage bgd = loadImage(nesia_break[(int)random(0,nesia_break.length)]);

It tells me there is no accessible method splitStrings, which I believe is Java if not from the Processing library. Do I need the Java SDK? What would be a good relacement for the method?
Re: splitStrings
Reply #1 - Feb 24th, 2006, 6:10pm
 
Nope, it's a Processing function.  It's now called split().
Page Index Toggle Pages: 1