public static String cleanURL(String url) {
		if (isEmpty(url)) return "";
		ArrayList<String> tmp=Functions.explode(", ",url);
		url=tmp.get(0);
		if (tmp.size() == 2 && Functions.strlen(tmp.get(1)) < 4) url = url + "," + tmp.get(1);
		ArrayList<String> replace = new ArrayList<String>();
		replace.add("\n");
		replace.add("\r");
		replace.add("\\");
		replace.add("\"");
		url=Functions.str_replace(replace,"",url);
		url=url.trim();
		if (strlen(url)< 4) return "";
		String prefix=url.substring(0,4);
		if (prefix.equals("wap.") || prefix.equals("uapr") || prefix.equals("www."))  url = new String("http://").concat(url);
		if (!Functions.substr(url,0,4).equals("http")) url="";
		return url;
	}