I want to get the next value in an array delimited by "->"
For example, in this example below, i want to get the next value after "Res" in each
ROW 1- "Q -> Res -> tes -> Res -> twet"
ROW 2- "rw -> gewg -> tes -> Res -> twet"
ROW 3- "Y -> Res -> Res -> Res -> twet"
Output would be:
ROW 1- tes
ROW 2- tewt
ROW 3- tewt
Ive tried the following but it gets me the previous value,
Array_reverse(split(regexp_extract(COLUMN_NAME, '(.*?)Res'), '->'))[safe_offset(1)]


