what's the special symbol in a string

I have a string like below:
Untitled.jpg
can anyone know what makes it become three lines? I need to remove it to become a normal string.
Thanks!
Yu

 Risposta accettata

Jan
Jan il 10 Dic 2018
tmp(tmp < 32) = []
This remove all control characters, e.g. char(10), the line break.

Più risposte (1)

erase(tmp, newline)

1 Commento

Yu Li
Yu Li il 10 Dic 2018
Modificato: Yu Li il 10 Dic 2018
this works as well, thank you so much!

Accedi per commentare.

Categorie

Richiesto:

il 10 Dic 2018

Modificato:

il 10 Dic 2018

Community Treasure Hunt

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

Start Hunting!

Translated by