Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript select letter in string

const str = 'Hello';
str.substring(0, 2); // => 'Hel'
 
PREVIOUS NEXT
Tagged: #javascript #select #letter #string
ADD COMMENT
Topic
Name
1+3 =