Skip to main content
This function splits a given string according to the separators and returns the requested part. (start counting from the beginning)

Syntax

Parameters

content: The string to be split. Data type: VARCHAR. delimiter: The separator used to split the string. Data type: VARCHAR. field: The position of the part to return. Positive values count from the beginning, negative values count from the end. Data type: INT.

Return Value

Returns the specified part of the split string. Data type: VARCHAR.

Examples

Text

keyword

SPLIT_PART,SPLIT,PART