-
Notifications
You must be signed in to change notification settings - Fork 0
Fungsi REGEXREPLACE tapi dengan input vector pattern dan yang digantikan #53
Copy link
Copy link
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeidlambdaRelated Collection of Lambda by fiakodevRelated Collection of Lambda by fiakodev
