Help with XPath Substring

VirtEyesVirtEyes Posts: 62

I am trying to get a part of a string up to the point where there is a blank space in the string. However, Virtualize is saying that it does not recognize what the .indexOf() function is.

Can someone guide me as to what could be the issue and how to get the sub-string properly in Virtualize?

The XPath code is am trying to use:
/:Envelope/:Body[1]/*:AddressIn[1]/@Address1In/substring(0,text().indexOf(' '))

I also need to get this substring:
substring(AddressIn.indexOf(' ')+1,AddressIn.length()


Sign In or Register to comment.