static S safeSubstring(S s, int x, int y) { return substring(S, x, y); } static S safeSubstring(S s, int x) { ret substring(s, x); }