I was recently in a bit of a quandary over which answer to accept to this question.
Of the answers I got, two were the clear leaders and, of course, I up-voted both. Choosing a 'winner' was more difficult though as their approaches were quite different.
Answer A addressed my question and provided a clear and well thought out response. I'd anticipate that this answer would be of most use to a user who found my question via a search. Selecting this would probably be the more community-focused way to go.
Answer B took a more lateral approach and made some guesses at the business logic behind my request, suggesting that I might be asking the wrong question. Their solution was based on this assumption - and they were spot on. Answer B formed the basis of my fix for the problem.
So... Best answer to the question or best solution to the problem - they may not always be the same thing.
I took the selfish approach and went with B. I'm not losing sleep over it, but I do wonder if I did the right thing?