Reputation: 1
I'm trying to display to a user 'streamlines'. How would I do this?? I've tried using disp()
with " inserted with failure.
How would I go about doing this?
Upvotes: 0
Views: 281
Reputation: 42
I think you´re asking how to write the apostrophe, right? if is that you just have to double the apostrophe and it will show up like just one. It would be like: ''streamlines''.
Upvotes: 0
Reputation: 522181
Single quotes need to be escaped by placing a single quote in front of them. Something like this:
username = '''streamlines'''
disp(username)
Upvotes: 1