public String suggestions(String s, int caretPos) {
		String toReturn = "";
		SuperString str = findWordAndPos(s, caretPos);
		if (str != null) {
			s = str.string;
			toReturn = "Sugestions for " + s + ": ";
			ArrayList<String> posibilities = trie.getMutations(s);
			if (posibilities.size() == 0) {
				toReturn += "NONE FOUND";
			} else if (posibilities.size() == 1
					&& posibilities.get(0).equals(s)) {
				toReturn = "(doc " + s + ")";
				Telnet.getSocketInput().println(toReturn);
			} else {
				for (int i = 0; i < posibilities.size(); i++) {
					toReturn += posibilities.get(i)
							+ (i != posibilities.size() - 1 ? ", " : "");
				}
			}
		}
		return toReturn;
	}