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