static S takeFirst_string(int n, S s) { ret substring(s, 0, n); } static S takeFirst_string(S s, int n) { ret substring(s, 0, n); }