About
Pricing
Community
Teams
Start Free Trial
Log in
rgb192
asked on
12/27/2012
remove last comma from string
I have a forloop that adds a $var and , to $string
how to remove last comma
example
3,4,5,6,2,
PHP
Regular Expressions
3
2
Last Comment
rgb192
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kaufmed
12/27/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Ray Paseur
12/27/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rgb192
12/27/2012
ASKER
thanks both delete the last ,
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck