single-quoted string
使用单引号字符串
以上为机器翻译结果,长、整句建议使用 人工翻译 。
So, if I want to encode O'Reilly in a single quoted string, I must escape it using backslash, 'O\'Reilly'.
所以,如果我想用单引号编码 O'Reilly,我就必须使用反斜杠对它进行转义:'O\'Reilly'。
youdao
Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.
串中连续的两个单引号表示一个字符,即单引号。
应用推荐
模块上移
模块下移
不移动