protected function _startsWith($str, $startswith)
	{
		$length = strlen($startswith);
		
		return (substr($str, 0, $length)) == $startswith;
	}
protected function _startsWith($str, $startswith)
	{
		$length = strlen($startswith);
		
		return (substr($str, 0, $length)) == $startswith;
	}
protected function _startsWith ( $ str , $ startswith ) { $ length = strlen ( $ startswith ) ; return ( substr ( $ str , 0 , $ length ) ) == $ startswith ; }
Tell whether or not a string starts with another string

@param string $str
@param string $startswith
@return boolean
Tell whether or not a string starts with another string