How to escape double quotes in string?

I'd like double quotes to appear within the following string so it looks like:

"hi there == "

Here's the code I'm using:

NSMutableString *s = [[NSMutableString alloc] init];
[s appendString:@""""];
[s appendString:@"hi there == ""\n\r"];

Instead I only get:

hi there ==

Any ideas?


[s appendString:@"hi there == \"\n\r"];

\" is what is needed for " - This is standard C formatting.


Although Its late but we can Try this:

[NSString stringWithFormat:@"\"Hi There=\" Other text"];