static S getTag(S s) { if (!startsWith(s, "<")) null; int i = 1; if (charAt(s, i) == '/') ++i; while (" \t>/\0".indexOf(charAt(s, i)) < 0) ++i; ret substring(s, 1, i); }