what's the special symbol in a string

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(1 个)

Sean de Wolski
Sean de Wolski 2018-12-10
erase(tmp, newline)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by