如何在长的随机字符串查找可能的英语单词吗?
我该如何比较两个字符串查找的字符数r相匹配?
How can I compare two strings to find the number of characters that match in r?
然后通过请求url的查询字符串查找传入的UNID,并进行最小错误检查。
We then look for the UNID passed-in via query string of the requesting URL with minimal error checking.
题目要求的是求每组字符串中最长子串的长度。 简单的搜索入门题,也是很好的字符串题,包含了求反串,求子串,字符串查找,求字符串长度。
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given strings.
实现这种自动化主要依靠正则表达式,它是用来查找、匹配和分解字符串的一组真正的象形文字。
The power behind much of this automation is the regular expression, a veritable set of hieroglyphics to find, match, and decompose strings.
它是一种形式模式,一个特定程序使用名为模式匹配的识别流程在文本或字符串中进行查找。
It is a formal pattern that a specific program looks for in text or a string of characters using a recognition process called pattern matching.
清单17展示了一个示例收集器,它将在我们的树中查找字符串。
Listing 17 shows an example collector that looks for strings in our tree.
或者,请求uri中的查询字符串包括一组参数,这些参数定义服务器用于查找一组匹配资源的搜索条件。
Or the query string in a request URI includes a set of parameters that defines the search criteria used by the server to find a set of matching resources.
您可以在特定项的内部查找字符串形式的 VML。
相关信息也是通过查找某些特定的字符串模式来获取的。
The related information is also obtained by looking for certain string patterns.
如SQL标准中所述,此函数使用字符语义查找字符字符串的长度。
This function, as mentioned in SQL standards, is used to find the length of a character string in character semantics.
要查找名称中包含字符串“music”的任何变体的所有歌曲,您必须使用 -iname *music*。
To find all songs with any variant of the string "music" in it, you must use -iname *music*.
为了完成删除,我们需要迭代portlet请求参数以查找任何以字符串id开始的参数。
To accomplish this, we need to iterate through the portlet request parameters to find any parameter that starts with the string ID.
最后,遍历数据存储器,查找那些name键包含字符串'Homework1 '的对象,然后对这些对象中的每一个执行操作。
Finally, we look through the datastore for objects whose name key contains the string 'Homework 1' and perform an operation on each of those objects.
在这种情况下,可以使用resourcebundle类(请参阅清单3)来查找已翻译好的字符串常量,并将国际化字符串置入xml数据中。
In this case the ResourceBundle class (see Listing 3) can be used to look up translated string constants and to include the internationalized strings in the XML data.
与清单1相比,在清单1中,通过选择s:name子元素,就可以立即将查找结果限制为目标字符串。
Compare this to Listing 1 where the result of key lookup is immediately narrowed down to the desired string by selecting s: name children.
节介绍的是正则表达式字符串的生成问题,这是一个经常被问到的问题:“给定一个正则表达式,我们应该如何查找与之匹配的所有字符串呢?”
Section 6.5 deals with regular expression string generation, which is a commonly asked question: "Given a regular expression, how do you find all the strings that match it?"
举例来说,在清单18 中,我们重写了concat 求值程序,以便查找具有全部字符串(函数2)的 :concat节点(函数1),随后对 concat 求值(函数3)。
For example, in Listing 18, we rewrote our concat evaluator to look for :concat nodes (function 1) that have all strings (function 2) and then evaluate the concat (function 3).
将以上的简短分析与索引扩展描述(参见参考资料小节)相结合,现在我可以对使用hash查找相等字符串的机制做一个总结。
Combining this short analysis with the description of index extensions (see Resources section), I can now summarize the mechanism to find equal strings using hashing.
例如,对于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."
能够用XPath进行字符串和数学操作,查找和遍历xml。
Be able to do string and math operations and to search and traverse XML with xpath.
例如,如果服务器收到New e-mail from mark@developerWorks字符串,它将查找电子邮件关键字并显示邮件图片,并在右下角显示全部文本。
For example, if the server receives a New e-mail from mark@developerWorks string, it will find the e-mail keyword and show a mail picture, along with the full text in the lower right-hand corner.
在-g参数上传递的信息是一个字符串,它包含安装程序查找SUSEAutoYaSTXML文件和 SUSE操作系统安装RPM所需的信息。
The information you pass on the -g argument is a string that contains the information needed by the installer to find the SUSE AutoYaST XML file and the SUSE operating system install RPMs.
第二个all - strings函数生成了一个条件访问者,它将查找带有全部字符串参数的concat节点。
The second all-strings function similarly generates a conditional visitor that looks for a concat node with all string args.
xgettext实用程序将查找此函数标记的字符串。
The xgettext utility looks for strings that this function marks.
注意到Contains方法总是采取大小写敏感搜索是很重要的。如果我们查找字符串ript, Contains将会告诉我们这个文本不能被找到。
It's important to note that the Contains method always does a case-sensitive search; if we looked for the string RIPT, Contains would tell us that this text could not be found.
清单2的主要问题是,查找总是通过 $result的字符串值在lookup模板中呈现。
The main issue in Listing 2 is that the lookup is always rendered in the lookup template by taking the string value of $result.
查找字符串localhost,并使用恰当的主机名进行替换。
Look for the string localhost, and replace it with an appropriate hostname.
distinct将检验节点集以查找拥有相同字符串值的节点,并且只保留每个节点的一个实例,而将其余都删除。
Set: distinct examines a node set for nodes with the same string value and removes all but one instance of each.
在清单15中,我们创建了一个match函数(用于查找具有字符串参数的连接节点)和一个editor函数(用于对连接求值),再次遇到了对concat函数求值的问题。
In Listing 15, we revisit our problem of evaluating a concat function by creating a match function (to find concat nodes with string-literal arguments) and an editor function (to evaluate the concat).
应用推荐