Modify Strings in cell array
Ältere Kommentare anzeigen
Hi,
I have a cell array:
b = { 'a/b/c/a'; 'k/b' ; 'c/c/d' }
I want to remove the string before the first slash.
The result should be:
b = { 'b/c/a'; 'b' ; 'c/d' }
How can I achieve the result?
1 Kommentar
Kevin Phung
am 3 Apr. 2019
Bearbeitet: Kevin Phung
am 3 Apr. 2019
is this the same as removing just the first 2 characters?
Akzeptierte Antwort
Weitere Antworten (1)
Olaf Oelsner
am 4 Apr. 2019
0 Stimmen
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!