Re: Debugging problems
Re: Debugging problems
- Subject: Re: Debugging problems
- From: Michael Mulligan <email@hidden>
- Date: Mon, 28 Mar 2005 16:53:51 -0500
The line in question is an NSLog of a constant string just to indicate
to me that the code got that far (which it doesn't).
All this method does is provide NSString a way to strip excessive
whitespace (that is, (1) leading, (2) trailing, and (3) repetitions of
whitespace in the middle of the string). I have since given up on the
third aspect of this function and commented the mystery block of code
out (it simply escapes quotes and then invokes an NSTask of: echo
somestring | tr -s '[:space:]') and now things work just fine.
In the name of moving forward, I can live with extra whitespace...but I
definitely don't see what went wrong here (especially since cases it
works on and fails on don't show any real differences).
-Mike
__________
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
__________
On Mar 28, 2005, at 4:42 PM, glenn andreas wrote:
Well, what _is_ at line 117 in the file NSString+WebExtras.m?
Glenn Andreas email@hidden
<http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden