On 9/6/06, aidy rutter <[EMAIL PROTECTED]> wrote:
Hi,
 
I have a number of tables with an ID="SearchResults".
 
Is it possible to count the number of tables with this ID?


Here's a goofy way to do it.  Someone else might have a better suggestion:

raw_data = ie.html
silly_array = rawdata.split(/ID=SearchResults/)
number_of_tables = silly_array.length - 1





_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to