There is no core API class that I know of that will do this (but could be wrong).
If your HTML can be parsed by an XML parser (ie XHTML), then the task would be easy. If not, then I guess you need to get busy with regex, or lots of String.indexOf() and susbtring() !
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.