Aller au contenu

Découpe une chaîne selon un motif d’expression régulière et renvoie un tableau de sous-chaînes.

func.regexp_split('one1two2three', '[0-9]')
func.regexp_split('one1two2three', '[0-9]')
┌───────────────────────┐
│ ["one","two","three"] │
└───────────────────────┘
REGEXP_SPLIT(<str>, <pattern>)
SELECT REGEXP_SPLIT('one1two2three', '[0-9]');
┌───────────────────────┐
│ ["one","two","three"] │
└───────────────────────┘