public static function stripName($address) {
		// strip line breaks and trim
		$address = trim(preg_replace('/[\r\n]+/', '', $address));
		
		$email = self::stripEmail($address);
		$name = trim(str_replace('<' . $email . '>', '', $address));
		// check if quotes need to be removed
		if (substr($name, 0, 1) == "\"" && substr($name, -1) == "\"") {
			$name = substr($name, 1, strlen($name) - 2);
		}
		return $name;
	}
public static function stripName($address) {
		// strip line breaks and trim
		$address = trim(preg_replace('/[\r\n]+/', '', $address));
		
		$email = self::stripEmail($address);
		$name = trim(str_replace('<' . $email . '>', '', $address));
		// check if quotes need to be removed
		if (substr($name, 0, 1) == "\"" && substr($name, -1) == "\"") {
			$name = substr($name, 1, strlen($name) - 2);
		}
		return $name;
	}
public static function stripName ( $ address ) { // strip line breaks and trim
 $ address = trim ( preg_replace ( '/[\r\n]+/' , '' , $ address ) ) ; $ email = self :: stripEmail ( $ address ) ; $ name = trim ( str_replace ( '<' . $ email . '>' , '' , $ address ) ) ; // check if quotes need to be removed
 if ( substr ( $ name , 0 , 1 ) == "\"" && substr ( $ name , - 1 ) == "\"" ) { $ name = substr ( $ name , 1 , strlen ( $ name ) - 2 ) ; } return $ name ; }
returns the name of an expression like 'John Doe <john@doe.com>' -> John Doe
@param string $address
@return string
returns the name of an expression like John Doe <john