GetText Index

If there are multiple instances of the same text on the screen, I should be able to extract the text before or after the second instance.

GetText before the second instance of a text.

GetText “{Param1} Text” [1]