>>>And what's wrong with my solution? Apart from the fact that it actually works? I use it many times per day myself, has never failed.
>>>
>>I don't think there is any problem - it's just that there were several solutions suggested, he picked one of them.
>
>What I don't understand is why he spent so much time with a solution that did not work initially, instead of trying mine which would have done the job without any changes.
I don't think he spent much time - I did instead :) Besides, who would know that code needs fixes?
If it's not broken, fix it until it is.
My Blog