thanks for sharing, I found you today only. keep uploading more such videos, thanks again.
@mulenerd Жыл бұрын
Keep supporting
@mulenerd Жыл бұрын
Without using splitBy and joinBy also we can write the code like this: %dw 2.0 output application/json /* 1) import String module. 2) use isNumeric() to determine if the character is number or not 4) script logic will return the expected output. */ import * from dw::core::Strings var givenInput = [ "a1007" , "b2007", "c3007","d4007"] var expectedOutput1= ["a" , "b","c" ,"d"] --- givenInput map ((item, index) -> (item ) filter !isNumeric($) )