DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+9 =
Submit