Problems removing a " from a string

Posted by Graeme on Stack Overflow See other posts from Stack Overflow or by Graeme
Published on 2010-04-10T02:15:15Z Indexed on 2010/04/10 2:23 UTC
Read the original article Hit count: 436

Hi,

I have a string that ends with a " (quotation mark) that I want to get rid of. However, because XCode usually requires you to enter the text you wish to remove using stringByReplacingOccurrencesOfString in @"texttoremove" format, you can't use the quotation marks in the space as it thinks you are closing the text.

Any ideas on how I can do it?

Thanks.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone