Modify Strings in cell array
Mostrar comentarios más antiguos
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 comentario
Kevin Phung
el 3 de Abr. de 2019
Editada: Kevin Phung
el 3 de Abr. de 2019
is this the same as removing just the first 2 characters?
Respuesta aceptada
Más respuestas (1)
Olaf Oelsner
el 4 de Abr. de 2019
0 votos
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!