public static function cut($text, $start_tag, $end_tag=null){
    $_s = strlen($start_tag) + strpos($text, $start_tag);
    return $end_tag ? substr($text, $_s, strpos($text,$end_tag,$_s)-$_s) : substr($text, $_s);
  }