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?
Asked
Active
Viewed 68 times
0
-
you want last 5 characters or everything else except last 5 characters. – Mritunjay Aug 19 '14 at 02:59
-
thank you post an answer and I'll chose you as best! – www139 Aug 19 '14 at 03:01
-
that was for adeneo. – www139 Aug 19 '14 at 03: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 Aug 19 '14 at 03:03