Need a second pair of eyes. Why is this not returning the middle value of a three value string? The first and last are working great.
ForAll(
Split(
txtOutput.Text,
"###"
),
Collect(
FinalizeCollection,
{
Type: First(
Split(
Result,
";"
).Result
).Result,
Name: Trim(LastN(
Split(
Result,
";"
).Result
).Result),
ID:Last(
Split(
Result,
";"
).Result
).Result
}
)
);
Thanks
EDIT
I was able to figure it out by doing this, but isnt there a better way?
Name: Trim(First(LastN(
Split(
Result,
";"
).Result,2)
).Result),