• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Slice a .txt file in lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slice a .txt file in lines


  • Subject: Re: Slice a .txt file in lines
  • From: Andreas Mayer <email@hidden>
  • Date: Tue, 20 Jun 2006 17:44:35 +0200


Am 20.06.2006 um 17:13 Uhr schrieb Sean Murphy:

// Finds the line ending ending character:
NSString *lineEndCharacter = [textFileAsString substringWithRange:NSMakeRange(startOfLineTerminatorIndex, endOfLineIndex-startOfLineTerminatorIndex)];

This assumes that there is only one type of line ending character in a single file.
I'm not sure this assumption is necessarily true.



Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Slice a .txt file in lines (From: Neto <email@hidden>)
 >Re: Slice a .txt file in lines (From: Ben Lachman <email@hidden>)
 >Re: Slice a .txt file in lines (From: Andreas Mayer <email@hidden>)
 >Re: Slice a .txt file in lines (From: Sean Murphy <email@hidden>)

  • Prev by Date: Re: Help needed with the key down event in NSTextField
  • Next by Date: Re: Help needed with the key down event in NSTextField
  • Previous by thread: Re: Slice a .txt file in lines
  • Next by thread: Re: Slice a .txt file in lines
  • Index(es):
    • Date
    • Thread