code: public static String chop(String target) {
  		if (isEmpty(target)) { return EMPTY; }
  		int len = target.length(), lastIdx = -1;
  		if (len >= 2 && target.charAt(len - 1) == LF && target.charAt(len - 2) == CR) {
  			if (len == 2) { return EMPTY; } lastIdx = -2; 
  		}
  		return replace(target).afters(lastIdx).byNone().last();
  	}
docs: <p>Remove the last character from a String.</p>
  <p>If the String ends in {@code \r\n}, then remove both of them.</p>
  
  @param target
  @return