how to remove spaces in a string?

I would like to remove the white spaces in every string of this vector “Ly R4” “Ba R7” “Ty Ru”

 Respuesta aceptada

Stephan
Stephan el 12 de Mayo de 2021
A = ["Ly R4", "Ba R7", "Ty Ru"]
A = 1×3 string array
"Ly R4" "Ba R7" "Ty Ru"
B = erase(A," ")
B = 1×3 string array
"LyR4" "BaR7" "TyRu"

Más respuestas (0)

Categorías

Más información sobre Data Types en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Mayo de 2021

Comentada:

el 12 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by