1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-10 03:16:58 +02:00
ferret/examples/split-new-line.fql

4 lines
154 B
Plaintext
Raw Normal View History

LET doc = DOCUMENT('https://github.com/events', {driver: 'cdp'})
LET list = ELEMENT(doc, '.footer')[0]
LET str = INNER_TEXT(list)
RETURN SPLIT(str, "\\n")