7.8.11. TokenDelimitNull — Groonga v14.0.4 documentation

Skip to main content
`Ctrl`+`K`

# 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
    #   ],
    #   [
    #     {
    #       "value": "groongau0000full-text-searchu0000http",
    #       "position": 0,
    #       "force_prefix": false,
    #       "force_prefix_search": false
    #     }
    #   ]
    # ]