The length argument specifies the length of the desired substring.
长度参数指定了所需子字符串的长度。
To use the value, you have to remove the hash mark: Use the XSLT substring() function.
为使用该值,则必须除去井号:使用XSLTsubstring()函数。
The characters in a subsequence, unlike those in a substring, do not need to be contiguous.
子序列中的字符与子字符串中的字符不同,它们不需要是连续的。
The for loop iterates over the list of substrings, printing out each substring and its length.
for 循环迭代子字符串 list,打印每个子字符串及其长度。
Inside a matching-substring instruction, the period (.) represents the string that matched the pattern.
在matching - substring指令内部,句号(.)表示匹配模式的字符串。
Retrieves a substring from this instance.
从此实例检索子字符串。
Given a string s, find the longest palindromic substring in s.
这道题的要求是在字符串中找出最长回文子串。
Appends a copy of a specified substring to the end of this instance.
在此实例的结尾追加指定字符串的副本。
The substr_count() function counts the number of times a substring occurs in a string.
函数的作用是:查找子字符串出现次数。
Your task is to find the length of its longest substring that can be met in the string at least twice.
任务是寻找最长的子串,它在该串中出现至少两次。
Also, passing a non-string argument to a string-oriented function such as substring , contains , and so forth.
以及向面向字符串的函数如substring 、contains传递非字符参数等。
The categories of interest can be any valid Wikipedia category (or even any substring of a Wikipedia category).
感兴趣的类别可以是任何有效的Wikipedia类别(或者甚至某个Wikipedia类别的任何子字符串)。
The * character is used to indicate wildcards, and can be used to support substring matching as in com.infoq.*.*.
“*”是通配符,可用来支持子字符串匹配,比如 com.infoq.*.*。
Rope implementations also often defer evaluation of large substring operations by introducing a substring node.
Rope实现通常也将延迟对大型子串操作的求值,它的作法是引入子串节点。
If only a small substring is needed, then - because the whole character array is retained - some space is wasted.
但是如果只有一小段字符串被使用,那么—由于整个字符数组仍然被保存—就有一些空间被浪费了。
The cut attribute indicates whether to delete the matched substring segment from the request URL before proceeding.
cut属性指出是否在继续之前从请求URL中删除匹配的子字符串片段。
You need to search for a substring, and return either the starting position of the match or the matching value itself.
你想搜索一个字符串,获取该子字符串匹配的起始位置或匹配值。
Required. Specifies the character, regular expression, or substring that is used to determine where to split the string.
必选项。指定的字符,字符串或正则表达式,作为分解用的分隔符。
When extracting strings from a set of input data, try to return a substring of the original data, instead of creating a copy.
当从原始的输入数据中提取字符串时,试着从原始字符串返回一个子字符串,而不是创建一份拷贝。
Listing 5 depends on certain behaviors for substring in some edge cases, as well as the conversion of Boolean values to Numbers.
清单5依赖于substring在某些边界情况下的行为以及布尔值到数字的转换。
Extract a substring from a source and optionally change its case or trim white space before placing the result in the destination.
从源析取子串,并可在将结果放入目的之前,选择更改其大小写或对空格进行剪裁。
You saw in Part 1, Figure 13 that the cn attribute type has a field called substr, which defines the matching rules for substring match.
在第1部分的图13可以看到,cn属性类型有一个叫做SUBSTR的字段,它定义了子字符串匹配的匹配规则。
The second command, /usr/local/bin/search --config /usr/local/etc/sphinx.conf wind, found the substring wind in two part descriptions.
第二条命令 /usr/local/bin/search --config /usr/local/etc/sphinx.confwind在两个零件描述中找到了子字符串 wind。
Complex queries are serviced by a combination of direct lookups, convergences against selected parent nodes, and targeted substring searches.
复杂查询是通过组合直接查找和对所选父节点的汇聚及目标子串搜索来完成的。
The first argument is the substring, the second argument is the search string, and an optional starting position can be supplied as a third argument.
第一个参数是子字符串,第二个参数是搜索字符串,可选的起始位置可以提供作为第三个参数。
You'll recognize several parameter expansions, including length, substring, pattern matching, and pattern replacement in even this short piece of script.
即使在这样一小段脚本中,您也可以找到一些参数扩展,包括长度、子字符串、模式匹配和模式替换。
In respect to the limitation of document similarity measuring based on VSM, this paper put forward an algorithm based on public substring of strings.
针对向量空间模型在文档相似度量方面的局限,提出了基于计算公共子串的文档相似度量算法。
This form of string chopping can come in quite handy; simply specify the character to start from and the length of the substring, all separated by colons.
这种形式的字符串截断非常简便,只需用冒号分开来指定起始字符和子字符串长度。
We can use another form of variable expansion to select a specific substring, based on a specific character offset and length. Try typing in the following lines under bash.
可以根据特定字符偏移和长度,使用另一种形式的变量扩展,来选择特定子字符串。
We can use another form of variable expansion to select a specific substring, based on a specific character offset and length. Try typing in the following lines under bash.
可以根据特定字符偏移和长度,使用另一种形式的变量扩展,来选择特定子字符串。
应用推荐