Aprender
Un separador o delimitador se movió a una posición incorrecta.
Format shift errors occur when a separator character (like a hyphen or dash) is placed in the wrong position within a formatted code. This changes the visual grouping of the data without changing the actual characters. It's common when manually entering codes that follow specific format patterns.
Separator moves from position M to position N: AB-1234 → A-B1234
- AB-1234 → A-B1234 (hyphen shifted left)
- AB-1234 → ABC-234 (hyphen shifted right)
- 12-34-56 → 123-4-56 (hyphen repositioned)
Cómo reconocerlo
- Separator in unexpected position
- Same characters but different grouping
- Total length remains the same
Errores comunes
- Assuming format is always correct
- Not checking separator positions
- Focusing only on alphanumeric characters
Resolución paso a paso
Encuentre el error: Original 'AB-1234' vs Dado 'A-B1234'
- Comparar posición 1: 'A' = 'A'
- Comparar posición 2: 'B' vs '-' - diferencia
- Comparar posición 3: '-' vs 'B' - diferencia
- El guión se movió de la posición 3 a la posición 2
- Todos los caracteres están presentes pero el separador está mal ubicado
- Formato original: 'AB-1234' (2 letras, guión, 4 dígitos)
- Formato con error: 'A-B1234' (1 letra, guión, 1 letra, 4 dígitos)
Respuesta: Error de formato: guión movido de posición 3 a posición 2