Modify Strings in cell array
Mostra commenti meno recenti
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 Commento
Kevin Phung
il 3 Apr 2019
Modificato: Kevin Phung
il 3 Apr 2019
is this the same as removing just the first 2 characters?
Risposta accettata
Più risposte (1)
Olaf Oelsner
il 4 Apr 2019
0 voti
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!