sS leadingAngleBracketStuff(S s) { if (!startsWith(s, ']')) null; ret substring(s, 1, smartIndexOf(s, ']')); }