I liked the answer. It solved the my purpose, but it was poorly written and I had to spend some time understanding it.
I tried to improve grammatical quality of that answer, but the edit was rejected. Why is fixing grammatical errors frowned upon?
I have seen this question, but wasn't this edit substantial?