public final function setFullStreet($street) {
		trigger_error('[DHL-PHP-SDK]: Called deprecated method ' . __METHOD__ . ': Buggy on some addresses, please separate the number and street by yourself. This method will removed in the future!', E_USER_DEPRECATED);

		$match = array();

		preg_match('/^([^\d]*[^\d\s]) *(\d.*)$/', $street, $match);

		if(count($match) == 0) return;

		$this->setStreetName($match[1]);
		$this->setStreetNumber($match[2]);
	}
public final function setFullStreet($street) {
		trigger_error('[DHL-PHP-SDK]: Called deprecated method ' . __METHOD__ . ': Buggy on some addresses, please separate the number and street by yourself. This method will removed in the future!', E_USER_DEPRECATED);

		$match = array();

		preg_match('/^([^\d]*[^\d\s]) *(\d.*)$/', $street, $match);

		if(count($match) == 0) return;

		$this->setStreetName($match[1]);
		$this->setStreetNumber($match[2]);
	}
public final function setFullStreet ( $ street ) { trigger_error ( '[DHL-PHP-SDK]: Called deprecated method ' . __METHOD__ . ': Buggy on some addresses, please separate the number and street by yourself. This method will removed in the future!' , E_USER_DEPRECATED ) ; $ match = array ( ) ; preg_match ( '/^([^\d]*[^\d\s]) *(\d.*)$/' , $ street , $ match ) ; if ( count ( $ match ) == 0 ) return ; $ this -> setStreetName ( $ match [ 1 ] ) ; $ this -> setStreetNumber ( $ match [ 2 ] ) ; }
Sets Street-Name and Number by Address String

Found here: https://www.tricd.de/php/php-strassenname-und-hausnummer-mit-php-parsen/

@param string $street - Address (Street plus number)

@deprecated - Buggy on some addresses, please separate the number and street by yourself
Sets Street - Name and Number by Address String