static function StartsWith($needle, $haystack, $ignoreCase = false)
    {
        self::InitEncoding();
        $start = self::Start($haystack, self::Length($needle));
        return self::Compare($start, $needle, $ignoreCase);
    }
static function StartsWith($needle, $haystack, $ignoreCase = false)
    {
        self::InitEncoding();
        $start = self::Start($haystack, self::Length($needle));
        return self::Compare($start, $needle, $ignoreCase);
    }
static function StartsWith ( $ needle , $ haystack , $ ignoreCase = false ) { self :: InitEncoding ( ) ; $ start = self :: Start ( $ haystack , self :: Length ( $ needle ) ) ; return self :: Compare ( $ start , $ needle , $ ignoreCase ) ; }
Checks if haystack starts with needle
@param string $needle The needle
@param string $haystack The haystack
@param boolean $ignoreCase Set to true check case insensitively
@return boolean
Checks if haystack starts with needle