Forum Discussion

JackTradeOne's avatar
JackTradeOne
Copper Contributor
Mar 19, 2021
Solved

Default values for LAMBDA paramters - Part II

Based on the responses to this question, I decided to try the answer out on a function I picked up somewhere, which splits a string based on a specified delimiter. Using a LAMBDA function without de...
  • SergeiBaklan's avatar
    Mar 19, 2021

    JackTradeOne 

    That's since IF("text", ... returns #VALUE!. In previous sample I assumed using of numbers.

    Here you may change on IF(delimiter<>0,delimiter," ")

    As a comment, I'd do not recommend to use FILTERXML as general function for splitting the text, only if we assume if the text has no inside some special symbols which are not recognized by this function. For example, splitting of  a,b&c,d returns an error since instead of & you shall use &amp; . Similar for some other characters.

Resources