在该字符串中,您可以使用任意多的单引号和双引号(参见清单4)。
Within in the string, you can use as many single and double quotation marks as you like (see Listing 4).
由于数组中的id号都使用了引号,因此那些id号都被识别为字符串。
Since the ID Numbers in the array were quoted, those are recognized as strings.
当DELIMIDENT没有设置为YES 时,双引号中的字符串被当作字符串字面值。
When DELIMIDENT is not YES, strings in double-quotes are treated as string literals. To set DELIMIDENT
如果所有的引号现在都被这个应用程序代码中的一些功能从此字符串中清除掉,那么这个字符串分析模型就会检测到这个字符串从此以后就不可能包含引号。
If all quotes are now removed from that string by some function in the application code, the string analysis model detects that this string cannot possibly hold quotes from here on.
从清单1中可以看出,除了字符串用适当的引号括起来之外,另外还有两个重要方面。
Notice a couple of other important points from Listing 1, in addition to the proper quoting of strings.
只要将所需的文本放入一对引号中,就完成了一个新字符串的创建(参见清单1)。
You simply place the desired text inside a pair of quotation marks and voila: a new string (see Listing 1).
双引号中的值始终是字符串,而不带引号的数字值被认为是数字。
A value in double quotes is always a string, but a numeric value without quotes is interpreted as a number.
您还可以简单地将整个字符串放到单引号(')中,但是需要在变量中真正的单引号字符前面加上一个反斜线(\ ')。
You can also simply enclose the entire variable value in single quotation marks (') as long as you precede any actual single quotation marks in the variable with a backslash (\ ').
但所有参数值都使用单引号括入,这使单引号中的内容成为了字符串。
However, all parameter values are enclosed in single quotes, which makes the contents within the quotes a literal string.
字符串用单引号限定,从而节省了PHP从字符串中搜索可替换的变量的时间。
Strings are delimited by single quotes instead of double quotes to avoid the performance hit of PHP searching for variables to interpolate within the strings.
引号中的两个字段表明,我将要接受名为tracegroups 的参数,并且它的缺省值为空字符串。
This both says I'm going to accept a parameter called tracegroups, and makes its default value the empty string.
如果您喜欢编写动态的方法,可能想把名称空间放在带双引号的字符串中:“denoncourt \retail \controller ”。
If you like to code dynamic methods, you may be tempted to place a namespace in a double-quoted string: "denoncourt \ retail \ controller".
您可以使用任意一类引号来表示Python中的字符串,只要引号一致就行。
You can use either type of quotation mark to indicate a string in Python, as long as you're consistent.
当DELIMIDENT设置为YES时,将双引号中的字符串识别为SQL标识符。
DELIMIDENT, when set to YES, identifies strings in double-quotes as SQL identifiers.
XQuery被作为URL的查询字符串(URL 中引号后的部分)中的 _query字段的值发送。
The XQuery is sent as the value of the _query field in the URL's query string (the part of the URL after a question mark).
尽管N - Triples确实支持语言说明符和数据类型(正如我稍后将在文字细节中讨论的那样),但所有文字都表示为用引号括起来的字符串。
All literals are presented as strings in quotes, although N-Triples does support language specifiers and data typing, as I discuss later on in The details, literally.
例如,对于Apache您可以使用Mod_Security筛选器(比如secfilterselective THE_REQUEST “(\' | \ ”) “)查找字符串中的单引号和双引号并禁止它们。”
For example, with Apache you could use a Mod_Security filter such as SecFilterSelective THE_REQUEST "(\ '| \") "to look for single quotes and double quotes in strings and disallow them."
字符串在Python中,是以一个开引号开始,然后后面是一系列的字符,以一个尾引号结束。
Strings are captured in Python with an open quote and some sequence of characters followed by a closed quote.
所有过滤文件中的文本字符串应该在单引号或者双引号内。可是,为了方便的缘故,引号在一定的情况下可以被忽略。
All text strings in filter files should be in single, or double quotes. However, for convenience sake, quotes can be omitted under certain circumstances.
如果一个字符串是保留字,或者包含标识符中通常不允许的字符,则该字符串必须加上引号。
A string requires quotes if it is a reserved word or if it contains a character not ordinarily allowed in an identifier.
解释如何向文本框中的字符串添加引号。
程序中的字符串直接量是包含在单引号或双引号中的。
You can include string literals in your programs by enclosing them in matching pairs of single or double quotation marks.
程序中的字符串直接量是包含在单引号或双引号中的。
You can include string literals in your programs by enclosing them in matching pairs of single or double quotation marks.
应用推荐