Changes

Jump to navigation Jump to search
537 bytes added ,  16:19, 14 January 2012
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#BaseX Errors|BASX0001]]</b> is raised if the full-text index is not available.<br/><b>[[XQuery Errors#BaseX Errors|BASX0002]]</b> is raised if {{Mono|$db}} is a node that is not stored in a database.<br/><b>[[XQuery Errors#BaseX Errors|BASX0003]]</b> is raised if the addressed database {{Mono|$db}} cannot be opened.<br/>
|}
 
==ft:tokenize==
{{Mark|Introduced with Version 7.1}}
{|
|-
| valign='top' width='90' | '''Signatures'''
|{{Mono|<b>ft:tokenize</b>($input as xs:string) as xs:string*}}
|-
| valign='top' | '''Summary'''
|Tokenizes the given {{Mono|$input}} string, using the current default full-text options.
|-
| valign='top' | '''Examples'''
|
* <code>ft:tokenize("No Doubt")</code> returns the two strings {{Mono|no}} and {{Mono|doubt}}.
* <code>declare ft-option using stemming; ft:tokenize("GIFTS")</code> returns a single string {{Mono|gift}}.
|}
[[Category:XQuery]]
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu