public boolean isPalindrome(String s) {
		if (s.trim().length() <= 1) {
			return true;
		}
		char[] strArray = s.toCharArray();
		int forward = 0;
		int backward = strArray.length - 1;
		while (forward <= backward) {
			char cForward = clean(strArray[forward]);
			char cBackward = clean(strArray[backward]);
			while (forward <= backward
					&& ((cForward = clean(strArray[forward])) == ' ')) {
				forward++;
			}
			while (forward <= backward
					&& ((cBackward = clean(strArray[backward])) == ' ')) {
				backward--;
			}
			
			if (cForward != cBackward) {
				return false;
			} else {
				forward++;
				backward--;
			}
		}
		return true;
	}