ตัวพิมพ์ เป็น CamelCase
เครื่องมือออนไลน์ฟรีและทันใจสำหรับแปลงข้อความธรรมดา สตริง หรือตัวแปรเป็น CamelCase
ตัวแปลง CamelCase ออนไลน์ฟรี
เครื่องมือจัดรูปแบบสตริงของเราจะเปลี่ยนข้อความธรรมดา ประโยค หรือตัวแปรโค้ดของคุณให้เป็น CamelCase ทันที เพียงวางเนื้อหาของคุณ เครื่องมือจะจัดการช่องว่างและการใช้ตัวพิมพ์ใหญ่โดยอัตโนมัติ
1. วางข้อความ ตัวพิมพ์
วางหรือพิมพ์เนื้อหา ตัวพิมพ์ ของคุณลงในช่องนำเข้าข้อมูล
2. กระบวนการแปลง
เครื่องมือของเราจะแปลงข้อความของคุณเป็นรูปแบบ CamelCase โดยอัตโนมัติด้วยการตั้งค่าที่ดีที่สุด
3. คัดลอก CamelCase
การแปลงเสร็จสมบูรณ์ คุณสามารถคัดลอกผลลัพธ์ลงคลิปบอร์ดได้ทันที
คำถามที่พบบ่อย
ข้อมูลจำเพาะการแปลง
| Input | ตัวพิมพ์ |
| Output | CamelCase |
| ความปลอดภัย | HTTPS / ลบอัตโนมัติ |
| ราคา | ฟรี |
การใช้งานโค้ด
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.
พารามิเตอร์
| ชื่อ | ชนิด | คำอธิบาย |
|---|---|---|
| text | string | The text to convert. |
การคืนค่า
stringThe camel cased string.