public function split( $regex, $limit = - 1 ) {
		$parts = preg_split( $regex, $this->value, $limit );
		for ( $i = 0, $l = count( $parts ); $i < $l; $i ++ ) {
			$parts[ $i ] = new GString( $parts[ $i ] );
		}

		return $parts;
	}
public function split( $regex, $limit = - 1 ) {
		$parts = preg_split( $regex, $this->value, $limit );
		for ( $i = 0, $l = count( $parts ); $i < $l; $i ++ ) {
			$parts[ $i ] = new GString( $parts[ $i ] );
		}

		return $parts;
	}
public function split ( $ regex , $ limit = - 1 ) { $ parts = preg_split ( $ regex , $ this -> value , $ limit ) ; for ( $ i = 0 , $ l = count ( $ parts ) ; $ i < $ l ; $ i ++ ) { $ parts [ $ i ] = new GString ( $ parts [ $ i ] ) ; } return $ parts ; }
Splits this string around matches of the given regular expression.

@access public

@param string $regex The delimiting regular expression
@param int $limit The result threshold

@return array the resulting array of strings.
Splits this string around matches of the given regular expression .