STRTOK_TO_ARRAY
functionsupportedCore SQL functionsTokenizes the given string using the given set of delimiters and returns the tokens as an ARRAY value.
Syntax
supportedpartialnot supportednot scored
STRTOK_TO_ARRAY( <string> [ , <delimiter> ] )
Parameters
| Name | Required | Description |
|---|---|---|
string | required | Text to be tokenized. |
delimiter | optional | Set of delimiters. Default: A single space character. |
Returns
This function returns a value of type ARRAY or NULL. The function returns an empty array if tokenization produces no tokens. If either argument is a NULL or JSON null value, the function returns NULL.