Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

snentence case capitalisation js

const string = "tHIS STRING'S CAPITALISATION WILL BE FIXED."
const string = string.charAt(0).toUpperCase() + string.slice(1)
 
PREVIOUS NEXT
Tagged: #snentence #case #capitalisation #js
ADD COMMENT
Topic
Name
5+3 =