DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript get first 3 characters of string
const str = 'Walk the dog'; const first3 = str.slice(0, 3);
Source by bobbyhadz.com #
PREVIOUS
NEXT
Tagged:
#javascript
#characters
#string
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit