Hi all. I know i'm posting this in Chit-Chat... but nobody ever seems to go into PHP section.

Dead simple this, but my brains fried!

I have a variable called " $file " without quotes obviously...

It contains this...

"file1.txt","file2.txt","file3.txt",

Which is fine... but notice the trailing "," and the end!!! It causes by Java to screw up and fall over.

HOW CAN I REMOVE THE END "," FROM THE LINE??? IN PHP???

Regards,

Paul.