public function regionCompare( $offseta, $str, $offsetb, $length, $ignoreCase = false ) {
		$a = $this->substring( $offseta );
		$b = new GString( $str );
		$b = $b->substring( $offsetb );
		if ( $ignoreCase == false ) {
			return strncmp( $a, $b, $length );
		} else {
			return strncasecmp( $a, $b, $length );
		}
	}