I am wondering whether there is something in Racket to manipulate the file position in an input port. My case is that I need to make the something like file pointer goes back to one position in case I read stuff that I should not have read.
e.g. "I am confused." in the file test.txt. then the file pointer is after confused before . (I guess) So is there something I can do in the way that next time I read-string, I get "am", rather than "."??