Re: NSString Constants and Escapes
Re: NSString Constants and Escapes
- Subject: Re: NSString Constants and Escapes
- From: David Reed <email@hidden>
- Date: Sun, 6 Jun 2004 09:28:47 -0400
Use a double backslash: \\s rather than \s.
David.
On Sunday, Jun 6, 2004, at 09:10 US/Eastern, Sam McCandlish wrote:
I am writing a program that need to use NSString constants that have
backslashes in them. The compiler warns me "unknown escape sequence
'\s'". How do I stop the compiler from parsing these backslashes?
Thanks!
Sam
_______________________________________________
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.