Maybe String.split('<whateverhtmltabletag>')
can help you?
Also StringTokenizer
class can be useful. Example:
String data = "one<br>two<br>three";
StringTokenizer tokens = new StringTokenizer(data, "<br>");
while (tokens.hasMoreElements()) {
System.out.println(tokens.nextElement()); // prints one, then two, then three
}
Also, using indexOf("<tag")
, example here: http://forums.devshed.com/java-help-9/parse-html-table-into-2d-arrays-680614.html
You can also use an HTML parser (like jsoup) and then copy the contents from the table to an array. Here's an example in javascript: JavaScript to parse HTML table of numbers into an array