Simple way to wrap quotes around input
Show older comments
How to wrap quotes ('...') around a user input string?
Accepted Answer
More Answers (1)
Thorsten
on 21 Oct 2016
str = ['''' str ''''];
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!