Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

capitalise first letter js

const string = "tHIS STRING'S CAPITALISATION WILL BE FIXED."
const string = string.charAt(0).toUpperCase() + string.slice(1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capitalise #letter #js
ADD COMMENT
Topic
Name
8+8 =