Skip to main content

capitalizeFirstLetter

Capitalize the FIRST letter of the given text

Usage

import {capitalizeFirstLetter} from "lulinjs";

const capitalized = capitalizeFirstLetter("hello world!");
// Output: "Hello world!"
Live Editor
Result
Loading...