!752
sbool live = false;
p {
S html = live ? loadPage_utf8("http://kermitproject.org/utf8.html") : loadNTSnippet("#3000405");
print(html);
L tok = htmlTok(html);
print("ol: " + tok.indexOf(""));
print("ol end: " + tok.indexOf("
"));
L> ols = findContainerTag(html, "ol");
L ol = unwrapContainerTag(first(ols));
psl(ol);
int i = 0;
while ((i = indexOf(ol, "", i+1)) >= 0) {
int j = indexOf(ol, "", i);
if (j < 0) break;
S language = join(subList(ol, i+1, j));
print("Language: " + language);
i = j;
}
}