Tekst

Hoofdlettergebruik naar AlternatingCase

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

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

Gratis Online AlternatingCase Converter

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

3. Kopieer AlternatingCase

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

Veelgestelde vragen

Conversiespecificaties

InvoerHoofdlettergebruik
UitvoerAlternatingCase
VeiligheidHTTPS / Auto-verwijderen
Prijs
Gratis

Gebruik van code

alternatingCase

Alternates cases based on the index of the character (ignoring spaces is optional, this implementation alternates strictly by character position).

Parameters

NaamTypeBeschrijving
textstringThe text to convert.

Geeft terug

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

alternatingCase('hello world');
// => hElLo wOrLd

alternatingCase('typescript');
// => tYpEsCrIpT