Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

java script remove last charecter from the string

let str = "12345.00";
str = str.substring(0, str.length - 1);

 Run code snippet
Source by tecadmin.net #
 
PREVIOUS NEXT
Tagged: #java #script #remove #charecter #string
ADD COMMENT
Topic
Name
6+8 =