Re: Quotation marks
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.