sS dropStuffBeforeSquareBracket(S s) { ret substring(s, smartIndexOf(s, '[')); }