What is the quickest way to read a text file into a string variable?

I understand it can be done in several ways, such as read individual bytes and then convert those to string. I was looking for a method with minimal coding.

15 Answers
15

Leave a Reply

Your email address will not be published. Required fields are marked *