Your idea of formatting a string literal is right.
格式化字符串文字的你的想法是正确的。
This example obtains the length of a string literal.
这个范例是在取得字串常值的长度。
We use the STR function to parse the multi-line string literal.
我们使用了str函数来解析这个多行字符串。
Make sure the string literal ends with a quotation mark (")."
请确保字符串文本以引号(“)结束。”
Why can I call a String Literal by reference but not an array?
为什么我能叫字符串引用而不是数组?
The first call passes a string literal but the function parameter is an int.
第一个函数调用传递了一个字符串字面值,但是函数的形参却是int型的。
For instance, it can be a string literal in the program or read from a local file.
例如,可以是程序中的一串文字或从本地文件读取。
A string literal cannot be implicitly converted to an int, so the call is an error.
字符串字面值无法隐式地转换为int型,因而该调用是错误的。
The printk function relies on a feature of the C language called string literal concatenation.
printk 是基于C语言中一个名为字符串逐字连接 的特性。
When you are using a string literal as a return value from a function, it will work properly.
当您使用一个字符串作为从一个函数返回值,它将正常工作。
To use, select the number or string literal in the editor, press Ctrl + 1 and select Extract to Constant.
要使用这个重构,请选择编辑器中的数字或字符串文字,然后按下Ctrl +1并选择Extract to Constant。
The parameter value can be any valid template expression such as a string literal or a component property.
参数值可以是任何有效的模板表达式,比如字符串字面量或组件的属性。
The value of a raw string literal is the string composed of the uninterpreted characters between the quotes;
原始字符串字面值表示的值就是由反引号之间的字符组成的字符串。
Your idea of formatting a string literal is right. YET this formatting have to be done via prepared statement.
格式化字符串文字的你的想法是正确的。然而这格式必须通过事先准备好的声明中。
After a string literal has been frozen, code can simply refer to the string using the address in the native image.
某一字符串冻结之后,代码只需使用本机映像中的地址就能引用该字符串。
When a script is compiled, each escape sequence in a string literal is converted into the characters it represents.
当编译脚本时,字符串中的每个转义序列都会转换为它所表示的字符。
To include insignificant white space in an XML literal, use an embedded expression that contains a string literal with the white space.
若要加入xml常值中不显著的泛空白字元,请使用包含字串常值并具有泛空白字元的内嵌运算式。
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.
在重构后,所有对这个类中的数字或字符串文字的使用都将指向该字段,而不是指向数字或字符串文字本身。
Hence the final result would be a node-set containing two value elements named — USPrice, where both hold a numeric value in the form of a string literal.
因此,最终结果应该是一个包含两个值元素named -USPrice的节点集,这两个元素都存有字符串参数形式的数值。
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 。
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.
这样,在一个位置(字段的值)就可以实现对所有数字或字符串文字的修改,再也无需在整篇代码中执行查询和替代了。
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.
仅当作为头名称的一部分,或在字符文字量或字符串文字量的引号字符之间时,空白才可以出现在预处理标记内部。
Inside SQL string literals, you generally only have to escape the characters which delimit the string literal as they are required to leave the string literal context.
在SQL字符串,你通常只能逃逸字符的字符串作为分隔他们被要求离开该字符串上下文。
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.
字符串字面值表示由字符序列构成的字符串常量。有两种格式:原始字符串字面值和解释字符串字面值。
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.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
Curly brackets instruct DB2 to evaluate and process the enclosed expression rather than treat it as a literal string.
花括号指示DB 2计算和处理其中的表达式,而不是将其当作文字字符串。
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.
搜索设置包括选择是否区分大小写、将搜索字符串作为正则表达式还是文本字符串解释等。
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.
搜索设置包括选择是否区分大小写、将搜索字符串作为正则表达式还是文本字符串解释等。
应用推荐