For example, if you called the function using the label "Confirmed:", the function would search the specified long text field for this label. If it found it, it would return the text that came immediately after that label (up to the end of the paragraph).
=GetLabelledText(%INDI.BIRT.NOTE2%,"Confirmed:")
This example will return all text following the label Confirmed: in the specified long text field.