Warning: session_start(): open(/var/lib/php/sessions/sess_7jsfvu3kd3vuqulne7ba5scn0o, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static S substring(S s, int x) {
ret substring(s, x, strL(s));
}
static S substring(S s, int x, int y) {
if (s == null) return null;
if (x < 0) x = 0;
int n = s.length();
if (x >= n) ret "";
if (y < x) y = x;
if (y > n) y = n;
return s.substring(x, y);
}
ifclass IntRange
static S substring(S s, IntRange r) {
ret r == null ? null : substring(s, r.start, r.end);
}
endif
// convenience method for quickly dropping a prefix
sS substring(S s, CharSequence l) {
ret substring(s, l(l));
}