How do you remove the last character in a dynamic string?
I have been trying substr(), however, I can only get this function to remove characters from the beginning of the string and not the end. (I need to do both)
// this variable will be dynamic and has a "?" and "/" added
var mp3_track = "?http://www.website.com/song.mp3/"
// removed the first character
// How to I remove the last?
I'm sure this is an easy one for you JS guru's