Return the string ARG places along the input ring. Moves relative to `comint-input-ring-index'. (fn ARG)