Warning: session_start(): open(/var/lib/php/sessions/sess_rqp150idg9g3ip5uc66p19lfrl, 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 bool startsWith(S a, S b) {
ret a != null && a.startsWith(unnull(b));
}
static bool startsWith(S a, char c) {
ret nemptyString(a) && a.charAt(0) == c;
}
ifclass Matches
static bool startsWith(S a, S b, Matches m) {
if (!startsWith(a, b)) false;
m.m = new S[] {substring(a, strL(b))};
true;
}
endif
static bool startsWith(L a, L b) {
if (a == null || listL(b) > listL(a)) ret false;
for (int i = 0; i < listL(b); i++)
if (neq(a.get(i), b.get(i)))
ret false;
ret true;
}