S
Scott Bryce
JayEs said:How much more accurate do I need to be?
You are missing the point. The reason that the first few responses did
not solve your problem was that you did not know what the problem
actually was. Therefore your problem description was not accurate.
* I asked a question with a clear description of the problem: How to split
string that contains a space.
But that wasn't really what you wanted to do.
* Proposed solution didn't do the job,
Proposed solution split on a space. That is what you had asked for.
after
some discussion Scott figured out what the problem was after I gave the NG a
code sample reproducing the problem. *
I figured out what the problem description really was. I suspected that
you did not really want to split on a space, but on something else. The
key was to find out what that something else was.
Not due to not giving inaccurate information,
Your information was inaccurate. You said you wanted to split on a
space. That wasn't what you really wanted to do.
but due to the problem being obfuscated by an idiosyncracy of
the OS (or so it seems).
No. Due to your not taking the time to find out what the problem really
was. That's OK. That is what debugging is a lot of the time.
So don't get defensive. Learn from the mistake. Next time a split
doesn't work as expected, double check the contents of the variable you
are splitting. And next time you post to this NG, include a short, but
complete program that demonstrates the problem. The key to solving the
problem was finding out what the problem was. Without your code, we
couldn't do that.