Complicated string split to more conditional array

strinput.Split(";"c).ToArray.select(Function(a) a.split("-"c).first).toarray
strinput.Split(";"c).ToArray.select(Function(a) a.split("-"c).last).toarray
1 Like