error « substring « Java Data Type Q&A





1. java:56: cannot find symbol error in refrence to 'substring'???    forums.oracle.com

It's important that you learn to interpret error messages and diagnose them. NWSFB05.java:56: cannot find symbol symbol : method substring(java.lang.String,java.lang.String) The compiler is telling you it doesn't recognize the method I put in bold. That means you need to check the documentation for the String class. When you do (please do so, now) you'll find that there is not a method ...

2. Substring error with ( or )    forums.oracle.com

ahh for a second i thought thats it silly me!.. but nope still same thing .. a couple of things I noticed.. not sure if they will help 1] the 2nd substring/smily, needs to have atleast 3 characters wether it be blank spaces or letters etc after it for it to work. 2] its only the 2nd smiley (substring).. in the ...