-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestfeidlambdaRelated Collection of Lambda by fiakodevRelated Collection of Lambda by fiakodev
Description
MYFUNC = LAMBDA(
mytext,
vector_pattern,
vector_replaced,
LET(
combined, HSTACK(
vector_pattern,
vector_replaced
),
dataseq, SEQUENCE(ROWS(combined)),
REDUCE(
mytext,
dataseq,
LAMBDA(acc, curr,
LET(
curr_pattern, INDEX(
vector_pattern,
curr
),
curr_replaced, INDEX(
vector_replaced,
curr
),
REGEXREPLACE(
acc,
curr_pattern,
curr_replaced,
1
)
)
)
)
)
);- untuk variabel combined, bisa dihapus, dan dihitung panjang vector dari inputnya saja (vector atau replaced)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeidlambdaRelated Collection of Lambda by fiakodevRelated Collection of Lambda by fiakodev
