Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

return string.charAt(0).toUpperCase() + string.slice(1);

Kind Kingfisher answered on December 18, 2021 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • js reverse str case
  • how to make a char uppercase in java
  • how to change the first 3 letters from a string toupper case
  • How to Use the toUpperCase() String Method in javascript
  • The toUpperCase JavaScript string method
  • best method to convert string to upper case manually
  • import * as stringFunctions from "./string_functions.js"; // add code above this line stringFunctions.uppercaseString("hello"); stringFunctions.lowercaseString("WORLD!");
  • stringToCapital.js

  • return string.charAt(0).toUpperCase() + string.slice(1);

    0
    Popularity 1/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Dec 18 2021
    Kind Kingfisher
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.