original_string: protected function explodeText($text)
      {
          $delimiter = $this->config('teaser_delimiter', '<!--teaser-->');
          $text = str_replace(htmlspecialchars($delimiter), $delimiter, $text);
          $parts = array_filter(array_map('trim', explode($delimiter, $text, 2)));
  
          return array_pad($parts, 2, '');
      }
code: protected function explodeText($text)
      {
          $delimiter = $this->config('teaser_delimiter', '<!--teaser-->');
          $text = str_replace(htmlspecialchars($delimiter), $delimiter, $text);
          $parts = array_filter(array_map('trim', explode($delimiter, $text, 2)));
  
          return array_pad($parts, 2, '');
      }
code_tokens: protected function explodeText ( $ text ) { $ delimiter = $ this -> config ( 'teaser_delimiter' , '<!--teaser-->' ) ; $ text = str_replace ( htmlspecialchars ( $ delimiter ) , $ delimiter , $ text ) ; $ parts = array_filter ( array_map ( 'trim' , explode ( $ delimiter , $ text , 2 ) ) ) ; return array_pad ( $ parts , 2 , '' ) ; }
docstring: Explodes a text by teaser and full text
  @param string $text
  @return array
docstring_tokens: Explodes a text by teaser and full text