original_string: public function beginsWith($prefix)
      {
          return $prefix === ''
          || mb_strpos(
              $this->contents,
              (string) $prefix,
              null,
              $this->encoding
          ) === 0;
      }
code: public function beginsWith($prefix)
      {
          return $prefix === ''
          || mb_strpos(
              $this->contents,
              (string) $prefix,
              null,
              $this->encoding
          ) === 0;
      }
code_tokens: public function beginsWith ( $ prefix ) { return $ prefix === '' || mb_strpos ( $ this -> contents , ( string ) $ prefix , null , $ this -> encoding ) === 0 ; }
docstring: Returns true if the string begins with the provided string.
  
  @param string|Rope $prefix
  
  @return bool
docstring_tokens: Returns true if the string begins with the provided string .