DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove last character of string in javascript
let str = "12345.98"; str = str.substring(0, str.length - 1); console.log(str);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#character
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit