I want to truncate first few numbers in 16 digit number using xpath(databank)

NeilNeil Posts: 38

Hello,

I am using data bank to retrieve a value to use in subsequent test. But I want to truncate the value and need only last 4 digits of 16 digit value.

This is the x-path
/root/card[1]/value[1]/text()
This is the result of x-path.
4506446460519412

when I press evaluate x-path , i should only get last 4 digits "9412"

can you please provide me the syntax ?

Thanks,
neil

Comments

Sign In or Register to comment.