Cortar rango de texto
Corta el texto por índices de inicio/fin.
Devuelve text.slice(start, end). A diferencia de Truncar texto, usa un índice final. Inicio/fin inválidos fallan. Vacío falla.
Result: bcd
Longitud: 3
Empezar en: 1
índice final: 4
Corta el texto por índices de inicio/fin.
Devuelve text.slice(start, end). A diferencia de Truncar texto, usa un índice final. Inicio/fin inválidos fallan. Vacío falla.
Result: bcd
Longitud: 3
Empezar en: 1
índice final: 4