PHP - Remove last character if it's a period?
Which is fastest way to remove last character from string?
I have a string like
I would like to remove last ',' and get the remaining string back
What the fastest way to do this?