Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get character from string

const str = "Hello World";
const firstCharacter = str.charAt(0);
 
PREVIOUS NEXT
Tagged: #javascript #character #string
ADD COMMENT
Topic
Name
8+6 =