Answers for "how to upper case only one letter in javascript"

1

javascript separate words by capital letter

"thisIsATrickyOne".split(/(?=[A-Z])/);
Posted by: Guest on March-16-2021
1

js first letter to uppercase

function capitalizeFirstLetter(name) {
    return name.replace(/^./, name[0].toUpperCase())
}
Posted by: Guest on April-21-2021

Code answers related to "how to upper case only one letter in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language