SPLIT
Splits a string by the given delimiter.
Syntax
Arguments
STRING
STRING
Type: string
A sequence of characters to split.
DELIMITER
DELIMITER
Type: string
A sequence of one or more characters for specifying the boundary between separate, independent regions in plain text.
Returns
Type: array
Splits STRING
on DELIMITER
and returns an array.
Examples
STRING | DELIMITER | Output |
---|---|---|
abc | b |
|
abc | d |
|
abcdefg | cde |
|
1234567 | 345 |
|
1234567 | 0 |
|
1234567 |
|
|
| 0 |
|
Transformation job example
SQL
Query result
customer_email | split_email |
---|---|
Janice.Ramos@verizon.net |
|
John.Williams@hotmail.com |
|
Maria.Robertsh@verizon.net |
|
Last updated