First off, I know very little about programming in general. At all. So please bear with me.
I have a sketch that uses the Yahoo API processing library to take info put in a text box, search for it, and draw the summaries to the screen.
So far, so good.
However, I have a bug in the code - when the returned summary contains the word "index.gif", I get the following error, and the sketch stops:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I'm not entirely sure what's going on here (like I said, I'm not really a programmer at all), so I think the quickest way for me to solve this would be to simply add a space either side of the period. The drawn summaries are only for graphical effect, so this wouldn't have to big an impact.
My question - what's the easiest way to do a find/replace to an array containing text? Hope that's clear enough...and thanks