Possible Duplicate:
How do I remove all specific characters at the end of a string in PHP?
What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ',' and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?
Possible Duplicate:
How do I remove all specific characters at the end of a string in PHP?
What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ',' and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?
What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ',' and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?
- 31.3k
- 22
- 110
- 134
Remove the last character from a string
Possible Duplicate:
PHP - Remove last character if it'sHow do I remove all specific characters at the end of a periodstring in PHP?
WhichWhat is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ',' and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?
Remove the last character from string
Possible Duplicate:
PHP - Remove last character if it's a period?
Which is fastest way to remove last character from string?
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
What the fastest way to do this?
Remove the last character from a string
Possible Duplicate:
How do I remove all specific characters at the end of a string in PHP?
What is fastest way to remove the last character from a string?
I have a string like
a,b,c,d,e,
I would like to remove the last ',' and get the remaining string back:
OUTPUT: a,b,c,d,e
What is the fastest way to do this?