Answers for "get specific characters from string javascript"

12

javascript get first character of string

var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H
Posted by: Guest on August-01-2019
5

javascript substring

// zero-based index, 'end' is excluded from result
myString.substring( start, end )
Posted by: Guest on December-04-2020

Code answers related to "get specific characters from string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language