What I would like to accomplish is too strip the last certain number of characters from the end of a string in javascript. Lets say I had a string with 'testing this out' and I wanted to strip the last 5 characters from it. How do I do it?
-
you want last 5 characters or everything else except last 5 characters.Mritunjay– Mritunjay2014-08-19 02:59:25 +00:00Commented Aug 19, 2014 at 2:59
-
thank you post an answer and I'll chose you as best!www139– www1392014-08-19 03:01:00 +00:00Commented Aug 19, 2014 at 3:01
-
that was for adeneo.www139– www1392014-08-19 03:01:25 +00:00Commented Aug 19, 2014 at 3:01
-
I just got a message that says that 'this question already has an answer' - Frustrating. I put in this same key words but I didn't find it. :(www139– www1392014-08-19 03:03:23 +00:00Commented Aug 19, 2014 at 3:03
Add a comment
|