javascript string remove up to character code example
Example: Remove character from end of string javascript
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);