PHP Forum

delete comma

HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2correx03cvbnm,

echo preg_replace("/;$/", "HI", "$match");
Advertisement

0 answers

No answers posted yet. Be the first to answer.

Your answer

Login to answer

Trending today: see what people are reading