DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get last three characters of string javascript
var member = "my name is Afia"; var last3 = member.slice(-3); alert(last3); // "fia"
PREVIOUS
NEXT
Tagged:
#characters
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit