sbool trimmable(S s) { int i = 0, n = l.length(), j = n; while (i < n && " \t\r\n".indexOf(s.charAt(i)) >= 0) ++i; while (j > i && " \t\r\n".indexOf(s.charAt(j-1)) >= 0) --j; ret ; }