For example
I have a file testing.txt
that reads
read 3 4
Consider
(define file(open-input file "testing.txt"))
I want to remove the r
in read
instead of the whole word, I want to update file without the first character r
, I know I can not use this using cdr file
because it erases the word read
.
Any suggestions?