Modify Strings in cell array
Afficher commentaires plus anciens
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 commentaire
Kevin Phung
le 3 Avr 2019
Modifié(e) : Kevin Phung
le 3 Avr 2019
is this the same as removing just the first 2 characters?
Réponse acceptée
Plus de réponses (1)
Olaf Oelsner
le 4 Avr 2019
0 votes
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!