• 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: inserting carriage / hard returns into a string...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inserting carriage / hard returns into a string...


  • Subject: Re: inserting carriage / hard returns into a string...
  • From: Jens Bauer <email@hidden>
  • Date: Thu, 19 Feb 2004 21:32:41 +0100

Hi,

On Thursday, Feb 19, 2004, at 20:57 Europe/Copenhagen, email@hidden wrote:

I've running into problems while inserting returns into a string,

i've tried appending a \n and \r i've also tried appending a carriage return via unicode character 0x000D but when i save the file and open it in excel and textedit it doesn't have any returns in it?

Probably because excel doesn't use 0x0d as carriage return.
What I would do, is:

1: Create a very, very small excel file (a minimum file) which includes a return character.
2: Look at it using a hex-editor.
3: Try writing an excel file
4: Look at it using a hex-editor.

I don't know anything at all about excel, except from it's something Microsoft made...


Love,
Jens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >inserting carriage / hard returns into a string... (From: email@hidden)

  • Prev by Date: exploding string into array...
  • Next by Date: Re: exploding string into array...
  • Previous by thread: inserting carriage / hard returns into a string...
  • Next by thread: exploding string into array...
  • Index(es):
    • Date
    • Thread