Date: Fri, 29 Mar 2024 15:08:24 +0000 (UTC) Message-ID: <167743794.801.1711724904910@ip-172-26-0-183.ap-southeast-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_800_1541661499.1711724904906" ------=_Part_800_1541661499.1711724904906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
String html =3D new URL("http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT13= 400.html").openStream().text
String start =3D "<!-=
IDT13400->"
int i =3D html.indexOf(start)
if (i>0)
html =3D html.substring(i+start.length())
String end =3D "<!--************* START OF STANDARD BUREAU FOOTER"
i =3D html.indexOf(end)
if (i>0)
html =3D html.substring(0, i)
println html