Borrar filtros
Borrar filtros

Please help me to remove "/" from following Data.

2 visualizaciones (últimos 30 días)
Rakesh Yadav Kodari
Rakesh Yadav Kodari el 4 de Feb. de 2019
Comentada: Rakesh Yadav Kodari el 4 de Feb. de 2019
I have a data format of -FC4F/-FE2C/-F9D5/-FDA0/05A7/0390/0079/04C0/-FA87/006C/-F978/-FA2E/-FF62/-F899/06CE/-FEA0/0686/0570
I need to remove / from the data.

Respuesta aceptada

KSSV
KSSV el 4 de Feb. de 2019
S = '-FC4F/-FE2C/-F9D5/-FDA0/05A7/0390/0079/04C0/-FA87/006C/-F978/-FA2E/-FF62/-F899/06CE/-FEA0/0686/0570' ;
idx = strfind(S,'/') ;
S(idx) = []
  3 comentarios
KSSV
KSSV el 4 de Feb. de 2019
Editada: KSSV el 4 de Feb. de 2019
S(idx) = ','
Or
strrep(S,'/',',')
Rakesh Yadav Kodari
Rakesh Yadav Kodari el 4 de Feb. de 2019
Thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by