how toremove first and last item from string in javascript code example
Example: remove first and last character from string javascript
var yourString = "/installers/services/";
var result = yourString.slice(1,-1);
var yourString = "/installers/services/";
var result = yourString.slice(1,-1);