DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript get last n characters of string
'abc'.slice(-1); // c
PREVIOUS
NEXT
Tagged:
#javascript
#characters
#string
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit