I want to put an apostrophe in a string to denote the possessive but it ends the string, how can I put one in.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
yourString = 'This is the answer to Tessa''s question.';
(I.e., you would use an double apostrophe.)
回答2:
add one more '
after '
apostrophe after apostrophe