|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|
|Append Text to Text File in Applescript||BobRon||Mac Programming||2||Mar 23, 2014 02:52 PM|
|TxtPub - Text file reader app by converting text to ePub automatically.||Ralph Kim||iPad Apps||0||Apr 26, 2013 09:13 PM|
|Trying to Convert nvAlt text file to MS Word .doc file||thelucas||Mac Applications and Mac App Store||2||Apr 8, 2013 07:59 PM|
|parsing text similar to markdown||mraheel||iPhone/iPad Programming||11||Jan 30, 2013 08:47 AM|
|Parsing text/html MKNetworkKit||nashyo||iPhone/iPad Programming||2||Jun 30, 2012 04:21 AM|
All times are GMT -5. The time now is 02:51 PM.