how to find element with partial string

In browserclick function, how to locate an element based on partial of the text?

BrowserClick("//a[@textContents='ABC']", BUTTON_Left, "Click link");


<a data-index="0" href="/xxx" target="_self">


In the above code, it try to find a link with ABC as text, however in my case, the actual text has some invisible space and line breaks (see above html). Is there a way to find the element just using the the partial text ABC? I am using silk performer 17.5


Parents Reply Children
No Data