Tekst

Hoofdlettergebruik naar PascalCase

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

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

Gratis Online PascalCase Converter

Onze string-formatting tool zet uw gewone tekst, zinnen of codevariabelen direct om in PascalCase. 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 PascalCase-formaat met de best mogelijke instellingen.

3. Kopieer PascalCase

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

Veelgestelde vragen

Conversiespecificaties

InvoerHoofdlettergebruik
UitvoerPascalCase
VeiligheidHTTPS / Auto-verwijderen
Prijs
Gratis

Gebruik van code

pascalCase

Converts a given string to PascalCase by splitting it into words (handling spaces, underscores, and camelCase/UPPERCASE boundaries), capitalizing the first letter of each word, lowercasing the rest, and joining them together without any separator.

Parameters

NaamTypeBeschrijving
textstringThe string.

Geeft terug

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

pascalCase('foo bar');
// => FooBar

pascalCase('foo_bar');
// => FooBar

pascalCase('FOO BAR');
// => FooBar