Answers for "javascript get first x characters of string"

31

substring javascript

var str = "Hello world!";
var res = str.substring(1, 4); //ell
Posted by: Guest on December-25-2019

Code answers related to "javascript get first x characters of string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language