src/Text.php
public function startsWithIgnoreCase($substring) {
		$substring = mb_strtolower($substring, $this->encoding);
		$substringLength = mb_strlen($substring, $this->encoding);
		$startOfStr = mb_strtolower(mb_substr($this->string, 0, $substringLength, $this->encoding));

		return (string) $substring === $startOfStr;
	}
public function startsWithIgnoreCase($substring) {
		$substring = mb_strtolower($substring, $this->encoding);
		$substringLength = mb_strlen($substring, $this->encoding);
		$startOfStr = mb_strtolower(mb_substr($this->string, 0, $substringLength, $this->encoding));

		return (string) $substring === $startOfStr;
	}
public function startsWithIgnoreCase ( $ substring ) { $ substring = mb_strtolower ( $ substring , $ this -> encoding ) ; $ substringLength = mb_strlen ( $ substring , $ this -> encoding ) ; $ startOfStr = mb_strtolower ( mb_substr ( $ this -> string , 0 , $ substringLength , $ this -> encoding ) ) ; return ( string ) $ substring === $ startOfStr ; }
Checks whether the string starts with the given string. Ignores case.

@see Text::startsWith()
@param string|Text $substring The substring to look for
@return boolean
Checks whether the string starts with the given string . Ignores case .