To get only the last element of an explode function, you don't have to assign its count to anything. I have a common situation that recently caused some problems, here's my solution. Explode a quoted string into elements. But this will suffice normally and is very fast. Marc Spoorendonk a.k.a.
Most people probably figure it out, but it's somewhat counter-intuitive.
I guess I'm slow. Therefore you'll have to ensure, that you clear whitespaces before splitting a string by them. All rights reserved.