|Dec 8, 2008, 06:33 AM||#1|
Parsing Text file
I want to parse a text file.
I used the below code for parsing .xml file.
In this code i cannot parse .txt file.
Can anybody please give me the code?
|Dec 10, 2008, 11:31 AM||#4|
You want [NSData dataWithContentsOfURL:myURL]; Then you can get the [NSData bytes] , and move through the bytes as though they were an array of chars.
Or you could do [NSString stringWithContentsOfURL:encoding:error:] and use string methods to split it up further.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Terminal, add text to the end of all text files in a directory.||Jesse Smith||Mac Basics and Help||2||Feb 22, 2011 02:13 PM|
|creative text file parsing, revisited||dj.mooky||Mac Programming||3||Jul 8, 2009 09:36 PM|
|creative text file parsing methodology? any ideas?||dj.mooky||Mac Programming||12||Jun 30, 2009 12:47 PM|
|Parse Text File||ezkimo||Web Design and Development||9||Feb 22, 2008 08:10 AM|
|Question: Parsing a file with Applescript||iostream.h||Mac Programming||1||May 5, 2005 04:32 AM|
All times are GMT -5. The time now is 02:15 AM.