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
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#characters
#string
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit