Several query string examples are shown below to demonstrate how these attributes are employed in a text search.
下面显示了几个查询字符串示例,演示了如何在文本搜索中使用这些属性。
Your text editor might have a search feature that displays all lines that contain a specified string.
您的文本编辑器可能具有搜索功能,可显示包含指定字符串的所有行。
Listing 20 shows the code to process events and search records for a match against a user-entered text string.
清单20展示了处理事件以及搜索与用户输入文本字符串相匹配的记录的代码。
Asterisks can be used as wildcards and, unlike a text search, they can be used as the first character of the string.
星号可以用作一个通配符,不像文本搜索,它们可以用作字符串的首字符。
The algorithm is simple; it iterates through the top-level items of the tree and compares their text contents with the search string (lines 43 to 52 in listing 6).
算法很简单,它对树的顶级项目进行迭代,并将其文本内容与搜索字符串进行比较(清单6中的第43- 52行)。
At the top is a Text Box where the user enters a name to search in the phone book as a String.
在顶部是一个用户能输入名称来搜索电话薄的文本框。
You can search for a text string, or you can do a hex search for a sequence of up to 16 bytes.
您可以搜索文本字符串或者最多16字节的十六进制序列。
Because the search string has to be processed the same way that the indexed text was processed, it is crucial to use the same Analyzer for both indexing and searching.
因为搜索字符串也需要以处理索引文本的方式进行处理。
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.
注意到Contains方法总是采取大小写敏感搜索是很重要的。如果我们查找字符串ript, Contains将会告诉我们这个文本不能被找到。
The initial logic behind the Search button is very similar to the first example: we check that the text box doesn't contain an empty string prior to invoking the web service.
在Search按钮背后的初始逻辑是类似于第一个实例:我们在调用 Web 服务之前,检查文本框是不是一个空字符串。
To remove the Properties section, open the activity_desc.xsl file in a text or XML editor, and search for the propertiesSection string (see Listing 6).
为了移除Properties段落,在文本或XML编辑器中打开 activity_desc.xsl文件,并搜索propertiesSection字符串(如列表6 所示)。
Rather than sequentially searching through the text data using string matching, as done with the XQuery contains function, Net search Extender USES a text index.
NetSearchExtender并不使用字符串匹配连续地搜索文本数据(就像XQuerycontains函数所做的那样),而是使用文本索引。
Using a text index makes document search much more efficient, as the text data does not need to be examined at query time like it is done with sub-string matching.
使用文本索引使文档搜索的效率大大提高,因为不需要像进行子字符串匹配时那样在查询时检查文本数据。
Enter ra word or phrase to search all text or select a previous search string from the drop-down list.
输入一个词或词组以搜索所有文本,也可从下拉列表中选择以前的搜索过的字符串。
To change the string, open the resources.properties file in the content_xsl directory in a text editor, and search for the words Team Allocation.
为了改变字符串,在文本编辑器中打开content_xsl目录下的resources . properties文件,并搜索字符串teamAllocation。
To perform a text search of all the HTML files in the Information Center, type a search string in the search field (located above the left pane) and click GO.
要在信息中心执行所有HTML文件的全文搜索,只需在Search字段(位于左侧窗格之上)键入搜索字符串并单击GO。
The SearchResult portlet receives the string, and displays it at the end of the sentence The search text you entered was XXX .
SearchResultPortlet接收该字符串,并且在句子“Thesearch textyouenteredwas XXX”的末尾显示它。
Instead, they do a full-text search on string elements, such as title, author, and description, and the where element valueString attribute.
相反,他们将对string元素(例如title、author和description,以及where元素的valuestring属性)进行全文搜索。
So, instead of checking for each literal text string, we can simply search for and respond to particular keywords.
因此,我们可以简单的搜索并响应特定的关键词来代替检测每一个文本串。
You may search for channels on the IRC server for a text string entered here.
您可以输入您要搜寻的irc伺卢器上的频道名称。
Shows how to match text in the active document as you type a search string character by character.
说明如何在您逐字元输入搜寻的字串时,比对使用中文件内的文字。
You can use regular expressions to search for patterns in a string, replace text, and extract substrings.
您可以使用规则运算式来搜寻字串中的模式、取代文字,以及撷取子字串。
You can use regular expressions to search for patterns in a string, replace text, and extract substrings.
您可以使用规则运算式来搜寻字串中的模式、取代文字,以及撷取子字串。
应用推荐