gilly914
February 24th, 2008, 03:04 PM
How can i access a specific range of characters in file?
for example I want to open a text file and read from character #39 to character #99.
Is there a way of doing this without reading the whole file using the FileStream.ReadToEnd() Method, and then accessing the specific characters???
The ReadToEnd method could take a long time if it's a big file, and i only need a small portion of the file content...
for example I want to open a text file and read from character #39 to character #99.
Is there a way of doing this without reading the whole file using the FileStream.ReadToEnd() Method, and then accessing the specific characters???
The ReadToEnd method could take a long time if it's a big file, and i only need a small portion of the file content...