DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript insert last character of string
var str = "Hello"; var newString = str.substring(0, str.length - 1); //newString = Hell
PREVIOUS
NEXT
Tagged:
#javascript
#insert
#character
#string
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit