Ver Mensaje Individual
  #9  
Viejo 10/07/13, 20:52:31
Mauricio Hidalgo Mauricio Hidalgo is offline
Senior Member
 
Fecha de Ingreso: may 2006
Localización: Santiago, Chile
Mensajes: 481
Oka, dejalo asi:


data letranumero type string.
data offset type i.
data largo type i.
data letras type string.
data cnumeros type string.

letranumero = '1CR6134'.

FIND REGEX '[0-9]*[A-Za-z]+' in letranumero MATCH OFFSET offset MATCH LENGTH largo.
letras = letranumero+offset(largo).
cnumeros = letranumero+largo.

write / letranumero.
write / letras.
write / cnumeros.
Responder Con Cita