Forum Discussion

davidleal's avatar
davidleal
Iron Contributor
Nov 12, 2022

TEXTSPLIT combined with BYROW returns an unexpected result when using an array of strings as input

I have the following formula:

 

 

=LET(input, {"a,b;c,d;" ; "e,f;g,h;"}, 
  BYROW(input, LAMBDA(item, TEXTJOIN(";",,TEXTSPLIT(item,",",";", TRUE)))))

 

 

 

expecting the get the input back but without the last semi-colon. Instead, I am getting the following array: {a;e}. If I replace BYROW with MAP, it works. Similarly if I use a range for input it works with BYROW. 

 

I think it is a possible bug, if so, was it reported, and where I can track the process of the solution?

 

Thanks,

 

David

Resources