Sorry if wrong forum. I’m new. I want to modify this xpath so that it only get’s the row that ends with “170”. Right now it gets both because they both contain “170” but I can’t figure out the substring to do what I want.
Possibly you want “ends-with(str1, str2)” function in your xpath.
Unfortunaltely the XPath 1.0 spec does not support “ends-with(str1, str2)”. All browsers only supports XPath 1.0, no XPath 2.0 implementation is available in browsers.
However you can write an equivalent XPath expression using substring() and string-length() function of XPath1.0, see the following post for more info:
Are you saying that your table has 777922170 rows, or that somewhere on a row, there is the value 777922170? If you can show some HTML of your issue, we may be able to get you a xpath to your cell.