For example, we could search for concat functions with all string-literal values, then concatenate the arguments into a string value as in Figure 8.
举例来说,我们可以搜索带有全部字符串值的concat函数,随后将参数连接为一个字符串值,如图8所示。
Concatenation is the process to sequentially join multiple pieces of data, usually literal strings with non-string-literal data (most commonly, variables or other literals).
连接操作是一个顺序的连接多个数据片段的过程,通常是连接字符串和非字符串数据(绝大多数是变量或其它字符)。
For instance, it can be a string literal in the program or read from a local file.
例如,可以是程序中的一串文字或从本地文件读取。
This way, you can modify the number or string literal in just one place (the value of the field), instead of doing a search and replace throughout your code.
这样,在一个位置(字段的值)就可以实现对所有数字或字符串文字的修改,再也无需在整篇代码中执行查询和替代了。
Curly brackets instruct DB2 to evaluate and process the enclosed expression rather than treat it as a literal string.
花括号指示DB 2计算和处理其中的表达式,而不是将其当作文字字符串。
You can search for strings in vi using the / command, specifying the pattern to match either as a literal string or as a regular expression.
在vi 中,可以使用 /命令搜索字符串,这需要以字面字符串或正则表达式的形式指定要匹配的模式。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
The first call passes a string literal but the function parameter is an int.
第一个函数调用传递了一个字符串字面值,但是函数的形参却是int型的。
White space can appear within a preprocessing token only as a part of a header name or between the quotation characters in a character literal or string literal.
仅当作为头名称的一部分,或在字符文字量或字符串文字量的引号字符之间时,空白才可以出现在预处理标记内部。
After the refactoring, all USES of that number or string literal in the class refer to that field, instead of the number or string literal itself.
在重构后,所有对这个类中的数字或字符串文字的使用都将指向该字段,而不是指向数字或字符串文字本身。
A string literal represents a string constant obtained from concatenating a sequence of characters. There are two forms: raw string literals and interpreted string literals.
字符串字面值表示由字符序列构成的字符串常量。有两种格式:原始字符串字面值和解释字符串字面值。
Mark a name as a parameter instead of a string of literal characters.
将名称标记为参数而不是字符串。
Search Settings include choosing case sensitivity, scope, and whether or not to interpret the search string as a regular expression or as a literal string.
搜索设置包括选择是否区分大小写、将搜索字符串作为正则表达式还是文本字符串解释等。
Conversely, use the encode method of a string object if you want a bytes literal from that string.
相反,如果想要从该字符串得到bytesliteral表示,可以使用字符串对象的encode方法。
All string characters are literal, including surrounding quotation marks and embedded Spaces.
所有字符串字符都是文本,包括两旁的引号和嵌入的空格。
Returns a substring of the formatted string, optionally including prompt and literal characters.
返回带格式字符串的子字符串,也可以选择包含提示字符和原义字符。
After a string literal has been frozen, code can simply refer to the string using the address in the native image.
某一字符串冻结之后,代码只需使用本机映像中的地址就能引用该字符串。
All characters are ordinary, the expression is a literal string.
所有字符都是普通的,表达式是字面字符串。
This test verifies the helper method output by using a literal string value that contains double quotes.
该测试通过使用含有双引号的文字字符串来检查该辅助方法的输出。
The format (picture) string in format-number() has digit markers with "passive" characters before or after, which are intended to be literal characters in the result
format-number() 中的格式(picture)字符串具有前后是“被动”字符的数字标识符,通常是结果中的文字。
The parameter value can be any valid template expression such as a string literal or a component property.
参数值可以是任何有效的模板表达式,比如字符串字面量或组件的属性。
A string literal cannot be implicitly converted to an int, so the call is an error.
字符串字面值无法隐式地转换为int型,因而该调用是错误的。
When a script is compiled, each escape sequence in a string literal is converted into the characters it represents.
当编译脚本时,字符串中的每个转义序列都会转换为它所表示的字符。
The first statement of the function body can optionally be a string literal; this string literal is the function's documentation string, or docstring.
函数体的第一行可以是一个字符串值,这个字符串是该函数的(文档字符串(documentationstring)) ,也可称作docstring 。
So, instead of checking for each literal text string, we can simply search for and respond to particular keywords.
因此,我们可以简单的搜索并响应特定的关键词来代替检测每一个文本串。
Returns a substring of the formatted string, optionally including prompt, literal, and password characters.
传回格式化字串的子字串,选择性包含提示、常值和密码字元。
Invalid literal data format. Literal data must be specified either as an array, or a tab-delimited string.
无效的原意数据格式。原意数据必须指定为数组或制表符分隔的字符串。
However, all parameter values are enclosed in single quotes, which makes the contents within the quotes a literal string.
但所有参数值都使用单引号括入,这使单引号中的内容成为了字符串。
This example obtains the length of a string literal.
这个范例是在取得字串常值的长度。
This example obtains the length of a string literal.
这个范例是在取得字串常值的长度。
应用推荐