7.8.11. TokenDelimitNull#

7.8.11.1. Summary#

TokenDelimitNull is similar to TokenDelimit. The difference between them is separator character. TokenDelimit uses space character (U+0020) but TokenDelimitNull uses NUL character (U+0000).

7.8.11.2. Syntax#

TokenDelimitNull hasn’t parameter:

TokenDelimitNull

7.8.11.3. Usage#

TokenDelimitNull is also suitable for tag text.

Here is an example of TokenDelimitNull:

Execution example:

tokenize TokenDelimitNull "Groonga\u0000full-text-search\u0000HTTP" NormalizerAuto
# [
#   [
#     0,
#     1337566253.89858,
#     0.000355720520019531
#   ],
#   [
#     {
#       "position": 0,
#       "force_prefix": false,
#       "value": "groongau0000full-text-searchu0000http"
#     }
#   ]
# ]