+ public static function t($key, $default = '')
+ {
+ return trim(S::s($key, $default));
+ }
+
+ public static function blank($key, $strict = false)
+ {
+ if (!S::has($key)) {
+ return true;
+ }
+ $var = $strict ? S::s($key) : S::t($key);
+ return empty($var);
+ }
+