sS squareBracketStuff(S s) { int i = indexOf(s, '['); if (i < 0) null; ret leadingSquareBracketStuff(substring(s, i)); }