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