Skip to main content
14 events
when toggle format what by license comment
Feb 1, 2016 at 17:23 history closed Emily L.
SuperBiasedMan
RubberDuck
Ethan Bierlein
Vogel612
Not suitable for this site
Feb 1, 2016 at 15:56 vote accept Lúcio Cardoso
Feb 1, 2016 at 15:03 comment added JPhi1618 You might consider removing all the spaces from a string before doing the palindrome test. The user could accidentally enter a space before or after a word, and there are palindrome sentences that you might want to validate (Euston saw I was not Sue) and spaces don't count in that case. Plus, it's extra practice: What's the easiest way to remove all occurrences of a given character (space) from a string?
Feb 1, 2016 at 12:47 comment added CiaPan Can you test, please, the value of palindrome("dead") ...?
Feb 1, 2016 at 12:34 answer added Phil timeline score: -1
Feb 1, 2016 at 10:34 review Close votes
Feb 1, 2016 at 17:23
Feb 1, 2016 at 10:18 comment added Emily L. The code is obviously broken.
Feb 1, 2016 at 6:25 answer added cst1992 timeline score: 0
Feb 1, 2016 at 1:00 answer added Artelius timeline score: 6
Feb 1, 2016 at 0:59 history tweeted twitter.com/StackCodeReview/status/693961957066575873
Jan 31, 2016 at 23:45 comment added Sam McCreery Because I posted a similar snippet myself, I can tell you that this general approach doesn't work with multi-byte encodings e.g. UTF-8, because a two-byte character would be read second-half first when going right-to-left. Just something to think about.
Jan 31, 2016 at 21:17 answer added JS1 timeline score: 12
Jan 31, 2016 at 19:43 history edited Lúcio Cardoso CC BY-SA 3.0
edited title
Jan 31, 2016 at 19:30 history asked Lúcio Cardoso CC BY-SA 3.0