How to concatenate two newline characters together?
Show older comments
When I use the newline function it returns a new character for newline. However when I try to add two of them together like below, I get an unexpected result. It returns "20".
>> newline + newline
ans =
20
Is there anyway to concatenate those characters together?
Would it be possible to implement a string newline function?
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!