simonwachira Posted December 15, 2017 Share Posted December 15, 2017 I am reading a text file using file.read() function. but data is returned with new line characters. I want to use the parse() fuction to separate each line . is it possible to use the new line character to parse a string and if yes how do you do it? Link to comment Share on other sites More sharing options...
AzeoTech Posted December 20, 2017 Share Posted December 20, 2017 It would be much easier to open the file as a text file, then read() should return the whole line: private handle =file.open("c:\myfile.txt", 1, 0, 0, 1) ? file.read(handle) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.