DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
delete last character from string js
let
str
=
'Masteringjs.ioF'
;
str
.
slice
(
0
,
-
1
)
;
// Masteringjs.io
Source by masteringjs.io #
PREVIOUS
NEXT
Tagged:
#delete
#character
#string
#js
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit