I have a string like
a,b,c,d,e,
I would like to remove last ',' and get the remaining string back
OUTPUT: a,b,c,d,e
Here is what i did
echo rtrim("a,b,c,d,e,", ",")
Hope it helps ^^
Revisions
- April 13, 2017 @ 17:15:46 [Current Revision] by Sharing Solution
- April 13, 2017 @ 17:15:46 by Sharing Solution
- April 13, 2017 @ 17:15:36 by Sharing Solution
Revision Differences
There are no differences between the April 13, 2017 @ 17:15:46 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.