Coger los ultimos 4 digitos de cada fila de un string y hacer un string nuevo

1 view (last 30 days)
vicente Noguer
vicente Noguer on 14 Sep 2021
Buenas,
la linea de cada string es de esta forma:
!AIVDM,2,2,3,B,88888888880,2*240000
!AIVDM,1,1,,B,13GPhM0P01P9rGNGast>4?wn2@S7,0*7D0000
!AIVDM,1,1,,A,13ErMfPP00P9rFpGasc>4?wn2802,0*070000
!AIVDM,1,1,,A,33iMjv5P00P9wKdGcEOv4?v02DU:,0*460000
!AIVDM,1,1,,B,13FMMd0P0009o1jGapD=5gwl06p0,0*780000
!AIVDM,1,1,,A,4028ioivDfFss09kDvGag6G0080D,0*790000
!AIVDM,1,1,,A,D028ioj
!AIVDM,1,1,,A,13MAj;P00
!AIVDM,1,1,,B,19NS@=@01qP9tp4GQkJ0bh`200SP,0*780001
!AIVDM,1,1,,B,137FrD0v2u0:=4pGS;s6u5On00SJ,0*000001
y se tendria que coger los ultimos 4 digitos y hacer un string nuevo.
Muchas gracias

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!