hi Thomas, it's easy! in the graph attached you can see that this is just a "calculator" to calculate the lengths and then an "aggregate" to take the "max()".
Then to make the same but dynamically: you can use the short flow below with a dedicated coded box, as input on pin 1, to pass the name of the columns whose max length should be calculated.