str by regexp expression pattern, return maximum max_split elements in ARRAY<VARCHAR> type.
Syntax
Parameters
str: required, the string to split, which must evaluate to a VARCHAR value.
pattern: required, the regexp expression pattern used to split, which must evaluate to a VARCHAR value.
max_split: optional, the number of maximum elements in the output value, which must evaluate to an INT value.
Return value
Returns anARRAY<VARCHAR> value.
Examples
Text