Capitalize first letter of string in javascript
- by Robert Wills
I want to capitalize the first character of a string, and not change the case of any of the other letters. For example:
this is a test - This is a test
the Eiffel Tower - The Eiffel Tower
/index.html - /index.html