Tekst

Store til CamelCase

Gratis og øjeblikkeligt online værktøj til at konvertere normal tekst, strenge eller variabler til CamelCase.

Input-tekst
camel-case-resultat
100% sikker
Hurtig konvertering
Høj præcision

Gratis online CamelCase-konverter

Vores strengformateringsværktøj omdanner øjeblikkeligt din normale tekst, sætninger eller kodevariabler til CamelCase. Indsæt blot dit indhold, så håndterer værktøjet automatisk mellemrum og store bogstaver.

Sådan konverterer du

1. Indsæt Store-tekst

Indsæt eller skriv dit Store-indhold i inputfeltet.

2. Konverteringsproces

Vores værktøj konverterer automatisk din tekst til CamelCase-format med de bedst mulige indstillinger.

3. Kopiér CamelCase

Konverteringen er færdig. Du kan nu kopiere resultatet direkte til din udklipsholder.

Ofte stillede spørgsmål

Konverteringsspecifikationer

InputStore
OutputCamelCase
SikkerhedHTTPS / Auto-sletning
Pris
Gratis

Brug af kode

camelCase

Takes an input string in any common format (space-separated, kebab-case, snake_case, PascalCase, etc.) and converts it to camelCase. The function first normalizes the string by identifying word boundaries (including transitions between acronyms, letters/numbers, and common delimiters like spaces, hyphens, dots, and underscores), then joins the segments together with the first segment in lowercase and each subsequent segment capitalized.

Parametre

NavnTypeBeskrivelse
textstringThe text to convert.

Returnerer

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

camelCase('Foo Bar');
// => fooBar

camelCase('--foo-bar--');
// => fooBar

camelCase('__FOO_BAR__');
// => fooBar