I am composing an incoming file, but one of the fields, the Address field, might need split IF the Address contains 'Apt'. So I have this. The Split for Address is split(split(item(),outputs('TabDelimiter'))?[4],'Apt')?[0] and the split for Apt is

I am composing an incoming file, but one of the fields, the Address field, might need split IF the Address contains 'Apt'. So I have this. The Split for Address is split(split(item(),outputs('TabDelimiter'))?[4],'Apt')?[0] and the split for Apt is