1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-08 03:13:15 +02:00
ferret/examples/split-new-line.fql
2021-10-17 23:11:27 -04:00

4 lines
154 B
Plaintext

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