Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Remove trailing delimiting character from a delimited string

Current License: CC BY-SA 4.0

Post Revisions

40 events
when toggle format what by license comment
Jun 15, 2024 at 12:36 answer added mohitesachin217 timeline score: 0
Jan 12, 2023 at 17:05 history protected Community Bot
Nov 17, 2022 at 12:02 answer added brut65 timeline score: -1
Aug 18, 2022 at 9:23 history edited mickmackusa CC BY-SA 4.0
Added specificity to title, added tags
Aug 18, 2022 at 8:09 comment added mickmackusa From 2009: How do I remove a comma off the end of a string? From 2010: Php how to remove any last commas From 2010 How can I easily remove the last comma from an array?
Jun 20, 2022 at 14:01 answer added jxwd timeline score: 5
May 10, 2022 at 11:46 answer added Your Common Sense timeline score: 0
May 10, 2022 at 11:19 history reopened Your Common Sense php Users with the php badge or a synonym can single-handedly close questions as duplicates and reopen them as needed.
Jan 31, 2020 at 6:44 history closed samliew Duplicate of How do I remove all specific characters at the end of a string in PHP?
S Jan 31, 2020 at 6:44 history edited Community Bot
remove duplicate link
S Jan 31, 2020 at 6:44 history reopened samliew
Jan 31, 2020 at 6:44 history closed samliew Duplicate of How do I remove all specific characters at the end of a string in PHP?
Jan 31, 2020 at 6:44 history reopened samliew
Sep 29, 2019 at 17:34 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://www.youtube.com/watch?v=1Dax90QyXgI&t=17m54s> <https://www.youtube.com/watch?v=1Dax90QyXgI&t=19m05s>]. The reference changed.
Apr 25, 2019 at 2:30 review Reopen votes
Apr 25, 2019 at 6:04
Apr 25, 2019 at 2:16 comment added You Old Fool The "dupe" asks "How to remove all specific characters at the end of a string?" which is not the same as "Remove the last character from string". Although similar, this question is different. Voting to reopen.
Sep 27, 2018 at 12:40 review Reopen votes
Oct 2, 2018 at 3:05
Sep 27, 2018 at 12:19 comment added Kyle Strand This doesn't seem to be a duplicate. The suggested dupe-target is about conditionally removing characters (the title and accepted answer indicate that multiple characters may be removed); this is about unconditionally removing a single character, and adds the aspect of performance.
Jul 12, 2018 at 15:30 review Suggested edits
Jul 12, 2018 at 17:19
May 23, 2017 at 11:33 history edited URL Rewriter Bot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Sep 30, 2016 at 17:43 review Reopen votes
Oct 1, 2016 at 3:09
Jul 26, 2015 at 0:52 comment added dialogik Related stackoverflow.com/questions/31632379/…
Jun 12, 2015 at 18:13 comment added Chezshire It would be appreciated IF when marking a string as duplicate - you added a link to where the answer is that this thread is a duplicate of.
Apr 2, 2015 at 9:53 comment added mgutt @FruitBreak No its correctly marked as you can see by which answer I-M-JM accepted. It is again trim(). So he means "How to remove last specific characters from string?" and not "the last". All other answers are "wrong" by that. The only wrong duplicate marking has this question.
Dec 17, 2014 at 23:48 history edited Jason CC BY-SA 3.0
deleted 2 characters in body; edited title
Aug 5, 2014 at 16:04 comment added Marc P This should not be marked as a duplicate as the other question states that you know what the last character is ('a period').
Apr 11, 2014 at 16:33 comment added DaveWalley Or you can find the fastest and add a comment, then you get speed, clarity and no worries.
Sep 18, 2013 at 16:55 comment added Andy Lester Please don't worry about "fastest" without having first done some sort of measurement that it matters. Rather than worrying about fastest, think about which way is clearest.
Sep 18, 2013 at 16:52 review Reopen votes
Sep 18, 2013 at 16:55
S Oct 5, 2012 at 16:33 history edited Community Bot
insert duplicate link
S Oct 5, 2012 at 16:33 history closed Gordon
tereško
hakre
Jocelyn
Jason Sturges
exact duplicate
Oct 5, 2012 at 15:03 review Close votes
Oct 5, 2012 at 16:33
Apr 8, 2011 at 11:49 answer added bart timeline score: 121
Apr 8, 2011 at 10:05 vote accept I-M-JM
Apr 8, 2011 at 9:34 comment added I-M-JM @Tufan Barış Yıldırım: string concatenation is not in loop
Apr 8, 2011 at 9:24 comment added Tufan Barış Yıldırım if this string is concanating by a loop, you can use "implode" it will be concated without last comma
Apr 8, 2011 at 9:22 answer added Bas van Ommen timeline score: 18
Apr 8, 2011 at 9:19 answer added Nicola Peluchetti timeline score: 1121
Apr 8, 2011 at 9:16 answer added anon timeline score: 1342
Apr 8, 2011 at 9:15 history asked I-M-JM CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /