Tessa Danger Bamkin
Tessa Danger Bamkin

Reputation: 305

Adding Apostrophe in a string - Matlab

I want to put an apostrophe in a string to denote the possessive but it ends the string, how can I put one in.

Upvotes: 17

Views: 64465

Answers (3)

Julito Pabriga
Julito Pabriga

Reputation: 1

\Usepackage[{amsfont} \vtick to put an apostrophe before or after s in a word. For example, teacher's will be entered as teacher\vtick s. Ok?

Upvotes: 0

Abhishek Thakur
Abhishek Thakur

Reputation: 17025

add one more ' after ' apostrophe after apostrophe

Upvotes: 8

H.Muster
H.Muster

Reputation: 9317

yourString = 'This is the answer to Tessa''s question.';

(I.e., you would use an double apostrophe.)

Upvotes: 29

Related Questions