Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to capitalize the first character in array of string

for(var i = 1 ; i < newArr.length ; i++){
        newArr[i] = newArr[i].charAt(0).toUpperCase();
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capitalize #character #array #string
ADD COMMENT
Topic
Name
3+9 =