Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Rakesh Yadav Kodari
Rakesh Yadav Kodari am 4 Feb. 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.

Akzeptierte Antwort

KSSV
KSSV am 4 Feb. 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 Kommentare
KSSV
KSSV am 4 Feb. 2019
Bearbeitet: KSSV am 4 Feb. 2019
S(idx) = ','
Or
strrep(S,'/',',')
Rakesh Yadav Kodari
Rakesh Yadav Kodari am 4 Feb. 2019
Thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by