• 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: Quotation marks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quotation marks


  • Subject: Re: Quotation marks
  • From: Oleg Svirgstin <email@hidden>
  • Date: Sun, 14 Dec 2003 17:08:35 +0300

Hi all,

> I'm stuck with this tiny little problem: how to make an NSString which
> contains even quotation marks?
It is possible for both even and odd cases.

Try this and alike (NSLog()), it works for me:
quotes = [NSString stringWithFormat:@"\"www.quote.org\""];

I don't know whether the following will work, most likely it will:
NSString* quotes = @"\"www.quote.org\"";

There are some other ways, too (%c constants, etc).

> How to do this into XCode?
By typing or by copy/paste. :*)

Hope this helps.
Oleg


> From: Sanri Parov <email@hidden>
> Date: Sun, 14 Dec 2003 14:24:51 +0100
> To: email@hidden
> Subject: Quotation marks
>
> HI everybody,
>
> I'm stuck with this tiny little problem: how to make an NSString which
> contains even quotation marks?
> For example the string is "www.quote.org" (quotation included).
> How to do this into XCode?
> Many thanks.
>
> --
> Sanri Parov
> _______________________________________________
> 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.
_______________________________________________
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: 
 >Quotation marks (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: Quotation marks
  • Next by Date: Re: [BUG?] NSOutlineView's -rowForItem does *not* work
  • Previous by thread: Re: Quotation marks
  • Next by thread: Re: Subject: Quotation marks
  • Index(es):
    • Date
    • Thread