Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
- From: Greg Titus <email@hidden>
- Date: Tue, 29 Jul 2003 15:43:05 -0700
On Tuesday, July 29, 2003, at 2:15 PM, John Randolph wrote:
BTW, it's not clear to me what the difference is between
-stringByCollapsingWhitespaceAndRemovingSurroundingWhitespace and
-stringByRemovingWhitespace would be. By "collapsing", do you mean
shrinking all whitespace to a single space character?
Yes, exactly.
[@"\t foo \t\t\t bar " stringByRemovingSurroundingWhitepace] results
in @"foo \t\t\t bar".
[@"\t foo \t\t\t bar "
stringByCollapsingWhitespaceAndRemovingSurroundingWhitespace] results
in @"foo bar".
- Greg
_______________________________________________
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.