• 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: " in a string (newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: " in a string (newbie)


  • Subject: Re: " in a string (newbie)
  • From: Richard Chamberlain <email@hidden>
  • Date: Wed, 6 Feb 2002 15:27:19 +0000

On Wednesday, February 6, 2002, at 02:56 PM, Peter Schols wrote:

How do you include " in a string
e.g.: aString = @"She said: "thanks for answering my question"! "


use back slashes:

aString=@"She said:\"thanks for answering my question\"!";

Richard
_______________________________________________
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: 
 >" in a string (newbie) (From: Peter Schols <email@hidden>)

  • Prev by Date: Re: " in a string (newbie)
  • Next by Date: Re: Sizing text in a box
  • Previous by thread: Re: " in a string (newbie)
  • Next by thread: Re: cocoa-dev digest, Vol 2 #150 - 16 msgs
  • Index(es):
    • Date
    • Thread