It is to extract the class tags with Warning and Error in a very, very long html report and print only the Warning/Errors.
Extracting the values and dump them into array is something I had in mind, thanks a lot Jeff!!
(And I don't know you can emulate range function!)