Manipulate list to show variations

Is there a way to manipulate a list where a hyphen is found using Linq? No other special characters should be altered, but new list items should be created:

The input list contains {Jack-Jones, Smith-Western}

The output list should be {JackJones, Jack, Jones, SmithWestern, Smith, Western}

Thank you

@ppr or @Yoichi is this something you could help with please?

grafik

1 Like

Thats great, thank you very much!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.