How do I make the first letter of a string uppercase, but not change the case of any of the other letters?
For example:
\"this is a test\"
Only because this is really a one liner I will include this answer. It's an ES6 based interpolated string one liner.
let setStringName = 'the Eiffel Tower'; setStringName = `${setStringName[0].toUpperCase()}${setStringName.substring(1)}`;