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.
IndexProgramming Questions & HelpPrograms › Splitting a string into words
Page Index Toggle Pages: 1
Splitting a string into words (Read 480 times)
Splitting a string into words
Jun 19th, 2007, 4:05am
 
http://rgov.org/webluminary/applet/index.php?string=alistapart

The goal of the applet is to split up a string without spaces into its constituent words. It does a rudimentary brute force. Results are sent to the page via Netscape's Javascript -> applet bridge.

However, sometimes when I load the page the JavaScript stuff doesn't show up. Or, the word list count will show up, but results wont. I'm using Safari, and I use jQuery to write to the page.

Any ideas on fixing this? And while I'm at it, any ideas on optimizing it?
Page Index Toggle Pages: 1