Convertir a Train-Case
case-trainConvierte texto o un identificador a Train-Case, separando palabras por espacios, signos y mayúsculas. Cuándo: hay que transformar, comparar o medir un texto con exactitud y no por aproximación. No para: detectar la convención de nombre de un identificador (case-detect). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Converts text or an identifier to Train-Case, splitting words on spaces, punctuation and camelCase/acronym boundaries. Unicode letters are preserved. When: text has to be transformed, compared or measured exactly instead of approximated. Not for: detecting the naming convention of an identifier (case-detect). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text or identifier (string; required; up to 4096 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | any JSON value |