what's the special symbol in a string
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a string like below:

can anyone know what makes it become three lines? I need to remove it to become a normal string.
Thanks!
Yu
0 comentarios
Respuesta aceptada
Jan
el 10 de Dic. de 2018
tmp(tmp < 32) = []
This remove all control characters, e.g. char(10), the line break.
Más respuestas (1)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!