How can I detect a newline code when reading a .txt fie? RRS feed

  • Question

  • I am making a part registry for my hobby electronics setup. I want to read a .txt file to display the information, providing weblinks to online datasheets. My formatting will be like such:

    ^ptn* part number *^ ^dst* datasheet weblink *^ etc.

    ^ptn* part number *^ ^dst* datasheet weblink *^ etc.

    Each part would have its own line, with all the necessary data being stored there.

    So how do I detect the newline with System.IO?


    Thursday, May 9, 2019 9:17 PM


All replies