C#: String.IndexOf to FileStream.Seek

Posted by pistacchio on Stack Overflow See other posts from Stack Overflow or by pistacchio
Published on 2009-08-04T11:39:25Z Indexed on 2010/05/27 9:51 UTC
Read the original article Hit count: 148

Filed under:

Hi,

having a FileStream that I read with a StreamReader (it is a very large file), how can I set the Seek position of the FileStream to the first occurrence of a certain substring so that I can start reading this large file from a given point?

Thanks

© Stack Overflow or respective owner

Related posts about c#