how to remove first character and last character from string js 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);