private String[] inputParse(String string) {

		char lastChar = string.charAt(0);
		String s = string + " ";
		boolean insideString = false;
		String word = "";
		LinkedList<String> input = new LinkedList<String>();

		for (int i = 0; i < s.length(); i++) {
			if (s.charAt(i) == '\"') {
				insideString = !insideString;
				word += "\"";
			} else if (s.charAt(i) != ' ' || insideString) {
				word += s.charAt(i);
			} else if (s.charAt(i) == ' ' && !insideString && lastChar != ' ') {
				input.add(word);
				word = "";
			}

		}

		return input.toArray(new String[input.size()]);

	}