original_string: public static function StartsWith($haystack, $needle)
      {
          $length = static::Length($needle);
  
          return substr($haystack, 0, $length) === $needle;
      }
code: public static function StartsWith($haystack, $needle)
      {
          $length = static::Length($needle);
  
          return substr($haystack, 0, $length) === $needle;
      }
code_tokens: public static function StartsWith ( $ haystack , $ needle ) { $ length = static :: Length ( $ needle ) ; return substr ( $ haystack , 0 , $ length ) === $ needle ; }
docstring: Determine if the given string starts with the given substring.
  
  @param string $haystack string
  @param string $needle   substring
  
  @return bool
docstring_tokens: Determine if the given string starts with the given substring .