Hoofdlettergebruik naar HeaderCase
Gratis en directe online tool om gewone tekst, strings of variabelen om te zetten naar HeaderCase.
Gratis Online HeaderCase Converter
Onze string-formatting tool zet uw gewone tekst, zinnen of codevariabelen direct om in HeaderCase. Plak eenvoudigweg uw inhoud en de tool verwerkt automatisch spaties en hoofdlettergebruik.
1. Plak Hoofdlettergebruik tekst
Plak of typ uw Hoofdlettergebruik-inhoud in het invoerveld.
2. Conversieproces
Onze tool converteert uw tekst automatisch naar HeaderCase-formaat met de best mogelijke instellingen.
3. Kopieer HeaderCase
De conversie is voltooid. U kunt het resultaat nu direct naar uw klembord kopiëren.
Veelgestelde vragen
Conversiespecificaties
| Invoer | Hoofdlettergebruik |
| Uitvoer | HeaderCase |
| Veiligheid | HTTPS / Auto-verwijderen |
| Prijs | Gratis |
Gebruik van code
headerCase
Converts a given string into Header-Case (also known as Train-Case), where each word is capitalized and separated by hyphens. The function handles various input formats including camelCase, snake_case, and strings with arbitrary delimiters by first splitting the text into individual words, capitalizing the first letter of each word, lowercasing the rest, and then joining them with hyphens.
Parameters
| Naam | Type | Beschrijving |
|---|---|---|
| text | string | The text to convert. |
Geeft terug
stringThe header cased string.