My Thoughts: March 2012

Tuesday, March 20

Dangling meta character '?' near index 0 ? ^

Hey ,

After a long long time writing my post again.:)

Did you ever see the error message like this when you run your script

"Dangling meta character '?' near index 0 ? ^"

I happened to see this when I have below piece of code :
String str[]=page.split("?");


And the solution is very simple
String str[]=page.split("\\?");

Have a Good Day ..!!