The only format constraints are that the string be quoted.
唯一的格式约束是字符串被引述。
Erlang does not support the idea of a string directly, although you can use a double quoted value to create a string value (see Listing 18).
Erlang不直接支持字符串的概念,但是可以使用带双引号的值创建字符串值(参见清单18)。
"Action under the Anti-Terrorism Act would be taken in case of deaths due to... dangerous kite-flying string," he was quoted as saying.
引用他的话说:“由于危险的风筝线而造成的死亡事故将依据国家反恐怖法进行处理。”
Wisely, it doesn't replace a comma found within a quoted string.
它很聪明,不会替换在引号括起的字符串中找到的逗号。
String values in SQL must be quoted. You are dumping the data in without quoting it. This is invalid SQL.
在SQL字符串值必须引用。你是把数据在没有引用。这是无效的SQL。
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'。
If you like to code dynamic methods, you may be tempted to place a namespace in a double-quoted string: "denoncourt \ retail \ controller".
如果您喜欢编写动态的方法,可能想把名称空间放在带双引号的字符串中:“denoncourt \retail \controller ”。
Calling.r on a string turns it into a regular expression; we use raw (triple-quoted) strings here to avoid having to double-escape backslashes.
在一个字符串上调用。r会把它变成一个正则表达式;我们是用了原始(三重引号)字符串来避免诸多双重转义的反斜杠。
If the row delimiter is not the default (newline), then skipping may not work correctly if the data contains the row delimiter embedded with a quoted string.
如果行分隔符不是缺省值(换行符),当包含行分隔符的数据嵌入在引号中时,此跳过功能可能会无法正常工作。
String values in SQL must be quoted.
在SQL字符串值必须引用。
You can't just take a quoted string back to back with another quoted string so you'd get some kind of compiler error.
你不能让一个引起来的字符串跟另一个引起来的字符串,背靠背,这样编译就会出错。
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.
串中连续的两个单引号表示一个字符,即单引号。
应用推荐