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'。
Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.
串中连续的两个单引号表示一个字符,即单引号。
Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.
串中连续的两个单引号表示一个字符,即单引号。
应用推荐