Skip to main content

capitalizeAllStartingWords

Capitalize all the starting letters of the given text

Usage

import {capitalizeAllStartingWords} from "lulinjs";

const capitalized = capitalizeAllStartingWords("hello world! what's up");
// Output: "Hello World! What's Up"
Live Editor
Result
Loading...