Heya, all.
OK. I've got this:
'word1,'word2',word3',
It's got to go in an sql statement, so I need to chop off the last comma.
chop, trim, ltrim, etc. aren't the tools needed ... how can I do this? -john
answer:
$string = substr($string, 0, -1);
Didn't see this documented anywhere, was a lucky guess.