I'm retrieving a string which would be along the lines of ISS00001
I want to trim the ISS and convert the string to a number
Then I want to add 1 to the number and covert back to string and add ISS back to it
However when I convert to string I lose all the 0's, does anyone know how to keep the 0's
the code is as follows;
var replaceIS = issueNum.replace("ISS","");
var issueInt = new Number(replaceIS);
issueInt++;
*This post is locked for comments
I have the same question (0)