In Microsoft flow, I've defined Apply to all rule, and Append to string. Everything is ok here I guess.

Now I've set up button action OnSelect() like that.
Set(varHistory; PrzyciskusługiPowerApps.Run(editItem).history);;
ClearCollect(
colHistoryTemp;
Split(
varHistory;
"|"
)
);;
ForAll(
colHistoryTemp;
Collect(
colHistory;
{
Date: DateTimeValue(
First(
Split(
Result;
";"
).Result
).Result;
"pl-PL"
);
Version: Last(
FirstN(
Split(
Result;
";"
).Result;
2
).Result
).Result;
Editor: Last(
FirstN(
Split(
Result;
";"
).Result;
3
).Result
).Result;
VER01: Last(
FirstN(
Split(
Result;
";"
).Result;
4
).Result
).Result;
VER02: Last(
FirstN(
Split(
Result;
";"
).Result;
5
).Result
).Result;
VER03: Last(
FirstN(
Split(
Result;
";"
).Result;
6
).Result
).Result;
VER04: Last(
FirstN(
Split(
Result;
";"
).Result;
7
).Result
).Result;
VER05: Last(
FirstN(
Split(
Result;
";"
).Result;
8
).Result
).Result;
VER06: Last(
FirstN(
Split(
Result;
";"
).Result;
9
).Result
).Result;
Title: Last(
Split(
Result;
";"
).Result
).Result
}
)
);;
Sort(
colHistory;
Date;
Descending
);;
Clear(colHistoryTemp);;
Set(_popup; true)
But last two items are wrong, VER06 shows in result as appended VER06+Title result (ex. "value06valueTitle"), and this wrong value is saved under VER06 and Title value. What's wrong?
//edit
Everything is ok, Microsoft Flow is having some issue while saving.