Language issues

I was wondering what a good resource would be for learning this Interpreted Java. It just seems like nothing I am used to is working. I am a JavaScript developer but I can't even get it to log the length of a string. Any ideas? Thank you.

Language issues

Hi,

There are all sorts of good Java tutorials on the web. This is a pretty good one: [url]http://www.mindview.net/Books/TIJ/[/url]. Though, something like that is probably overkill for what you'll need with screen-scraper. I'd also recommend making use of Sun's documentation: [url]http://java.sun.com/j2se/1.4.2/docs/api/index.html[/url]. On your specific question, you'll want to take a look at the methods available to the String class ([url]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html[/url]). The method you're looking for is this one: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#length().

Kind regards,

Todd Wilson