Tekst

Hoofdlettergebruik naar TitleCase

Gratis en directe online tool om gewone tekst, strings of variabelen om te zetten naar TitleCase.

Invoertekst
title-case Resultaat
100% Veilig
Snelle conversie
Hoge nauwkeurigheid

Gratis Online TitleCase Converter

Onze string-formatting tool zet uw gewone tekst, zinnen of codevariabelen direct om in TitleCase. Plak eenvoudigweg uw inhoud en de tool verwerkt automatisch spaties en hoofdlettergebruik.

Hoe te converteren

1. Plak Hoofdlettergebruik tekst

Plak of typ uw Hoofdlettergebruik-inhoud in het invoerveld.

2. Conversieproces

Onze tool converteert uw tekst automatisch naar TitleCase-formaat met de best mogelijke instellingen.

3. Kopieer TitleCase

De conversie is voltooid. U kunt het resultaat nu direct naar uw klembord kopiëren.

Veelgestelde vragen

Conversiespecificaties

InvoerHoofdlettergebruik
UitvoerTitleCase
VeiligheidHTTPS / Auto-verwijderen
Prijs
Gratis

Gebruik van code

titleCase

Converts the input string to title case by first lowercasing the entire string, then capitalizing the first letter of each word. Word boundaries are determined by the `\b` regex anchor, so hyphenated words and other non-alphabetic separators only trigger capitalization at the start of each word boundary segment.

Parameters

NaamTypeBeschrijving
textstringThe input string.

Geeft terug

stringThe title cased string.
npm i @razomy/string-case
import {titleCase} from '@razomy/string-case';

titleCase('foo bar');
// => Foo Bar

titleCase('HELLO WORLD');
// => Hello World

titleCase('one-two');
// => One-two