A single quote in the message must be escaped with another single quote.
消息内的单引号必须由另一个单引号来转义。
It was tricky, because I could not use a single quote inside the script.
这有些棘手,因为我在脚本中不能使用单引号。
Completing after a single quote appends the matching single quote, and then a second completion attempt does nothing.
在单引号之后补全将添加匹配的单引号,而第二次补全尝试将不添加任何东西。
First, the single quote must precede the parentheses, then the list elements are defined within the parentheses. The output is shown below.
首先,单引号必须放在括号之前,然后在括号内定义列表元素。
In such cases, you can render the single quote harmless by using a regular expression or the String.Replace method to replace each instance of the single quote with two single quotes. For example.
在这种情况下,可以通过使用正则表达式或者String . Replace方法将每个单引号实例替换为两个单引号,使单引号无害。
Conversely, the double quote can be used if the value begins with a single quote.
相反地,如果该值以单引号开始,则可以使用双引号。
In contrast, single-quoted strings treat everything inside their delimiters as literal characters-except two consecutive single-quotes, which are treated as a literal single-quote.
相比之下,使用单引号分隔的字符串将包括在其中的所有内容视为文字字符—两个连续的单引号是一个例外,它们被单纯地当作单引号。
If the value contains both single-quote and double-quote characters, the quote character used to enclose the value must be doubled each time it occurs within the value.
如果该值同时包含单引号和双引号字符,则用于将值括起来的引号字符每次出现时,都必须成对出现。
If the value contains both single-quote and double-quote characters, the quote character used to enclose the value must be doubled each time it occurs within the value.
如果该值同时包含单引号和双引号字符,则用于将值括起来的引号字符每次出现时,都必须成对出现。
应用推荐