Search
 
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
Name
4+9 =