DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
first x characters of string javascript
let string = "abcdefghi" console.log(string.slice(0, 3)) // abc
PREVIOUS
NEXT
Tagged:
#characters
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit