DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Remove last char from string using Javascript
var s1 = "PHP7"; s1 = s1.substring(0, s1.length - 1); console.log(s1);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Remove
#char
#string
#Javascript
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit