Re: stringByTrimmingCharactersInSet
Re: stringByTrimmingCharactersInSet
- Subject: Re: stringByTrimmingCharactersInSet
- From: Matt Gemmell <email@hidden>
- Date: Thu, 19 Sep 2002 13:23:49 +0100
On Thursday, September 19, 2002, at 01:10 pm, Claudius Sailer wrote:
[Text stringByTrimmingCharactersInSet:whitespaceCharacterSet]
and the debugger says "WhitespaceCharacterSet undeclared (first use in
this function)" Why?
I think you'd need to do it like this:
[Text stringByTrimmingCharactersInSet:[NSCharacterSet
whitespaceCharacterSet]];
(And I'll leave it for Ondra to talk about variable-names beginning
with uppercase characters. :)
Best,
-Matt
--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
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.