Flipkart Search

Search This Blog

Thursday, July 29, 2010

Put double quotes in NSString

Here is a simple way to put  double quotes in your NSString

NSString *myString = @"I say \"Hello!\"";
The output will be
I say "Hello!"


Anonymous said...

Wow you passed CS 101 you fucking Indiot moron. Now you're ready for a job in Silicon Valley!

Mobile Development said...

so you are pretty much escaping the string with a back slash. Interesting.

Anonymous said...

What's up with Anonymous? What an idiot

Anonymous said...

Whats an Indiot? Is that an idiot indian?