I have a very large text file and only want read a certain amount of characters because reading the entire file would take a lot of time.
I found solutions to only read a certain number of lines but that didn't change anything in my case since all the characters are in one line.