Code to go logo
Created using Figma
Use Cases
Contribute
How to get first character of string in JavaScript
Strings
By Jad Joubran ·
Last updated Dec 26, 2018
const name = "William moore"; name[0];
W
Dec 26, 2018
1
Jad Joubran
See answer
1
Jad Joubran
Learn JavaScript step by step
Related use cases
How to get last character of string in JavaScript