Answers for "Write a js program to convert fitst letter uppercase string to lowercase"

6

how to capitalize string in javascript

const name = 'flavio'
const nameCapitalized = name.charAt(0).toUpperCase() + name.slice(1)
Posted by: Guest on August-13-2020
0

how to find if given character in a string is uppercase or lowercase in javascript

var str = S;

  if (str == str.toUpperCase())
  {
    console.log(" Uppercase");
  }
  else
  {
    console.log("Lowercase");
  }
Posted by: Guest on September-17-2020

Code answers related to "Write a js program to convert fitst letter uppercase string to lowercase"

Code answers related to "Javascript"

Browse Popular Code Answers by Language