Hi all. I have followed a tutorial to build a contact form that I can append case notes to, them view them. Unfortunately My note gallery is blank and showing an error:

Here is a screenshot of it working:

There are 4 components:
Galery1_2 - client list. Select button: Set(varRecord, ThisItem)
Gallery3 - Associated notes: Filter(Split(VarRecord.Notes, "***"), !IsBlank(Result))
RichTextEditor1 - to add notes
Save button - submit new note:
Set(
varRecord,
Patch(
'Workshop Repair',
varRecord,
{Notes: varRecord.Notes & "***" & CountRows(Gallery3.AllItems) +1 & "-" & User().FullName & " - " & Now() &
":<Br>" & RichTextEditor1.HtmlText}
)
);
Reset(RichTextEditor1)
My issue appears to be in the Gallery3 code where "Result" is no longer working. I read that "Result" is not a part of PowerApps any more. Is someone able to assist a beginner to get this working? Appreciate you all!