splitNames = m.group(1).trim().split(" ");
splitNames = m.group(1).trim().split(" ",2);
	public static Person lookupDasOertliche(String number) {		Debug.msg("Looking up " + number + "...");		URL url = null;		URLConnection urlConn;		DataOutputStream printout;		String data = "";		boolean wrong_pass = false;		boolean wrong_url = false;		Person newPerson;		String urlstr = "http://www.dasoertliche.de/DB4Web/es/oetb2suche/home.htm?main=Antwort&s=2&kw_invers="				+ number;		try {			url = new URL(urlstr);		} catch (MalformedURLException e) {			Debug.err("URL invalid: " + urlstr);		}		if (url != null) {			URLConnection con;			try {				con = url.openConnection();				// Get response data				BufferedReader d = new BufferedReader(new InputStreamReader(con						.getInputStream()));				int i = 0;				String str = "";				while ((i < 700) && (null != ((str = d.readLine())))) {					data += str;					i++;				}				d.close();				Pattern p = Pattern						.compile("<a class=\"blb\" href=\"[^\"]*\">([^<]*)</a><br>([^<]*)</td>");				Matcher m = p.matcher(data);				if (m.find()) {					Debug.msg(3, "Pattern: " + m.group(1).trim());					Debug.msg(3, "Pattern: " + m.group(2).trim());					// TODO: wie splittet man am ersten SPACE und nicht an					// jedem?					String[] splitNames, splitAddress, splitPostCodeCity;					splitNames = m.group(1).trim().split(" ");					splitAddress = m.group(2).trim().split(", ");					splitPostCodeCity = splitAddress[1].split(" ");					String firstname = "", lastname = "";					if (splitNames.length > 1) {						firstname = splitNames[1];					}					lastname = splitNames[0];					newPerson = new Person(firstname, "", lastname,							splitAddress[0], splitPostCodeCity[0],							splitPostCodeCity[1].trim(),"");					newPerson.addNumber(number, "home");					return newPerson;				}			} catch (IOException e1) {				Debug.err("Error while retrieving " + urlstr);			}		}		newPerson = new Person();		newPerson.addNumber(number, "home");		return newPerson;	}