Yes tried, but since I have used @IndexInPageList() and .countries as a Pagelist and .AppNumber is a property inside .countries Pagelist, it throws me an error.
1.what is the property for which you want u to fetch last 3 characters.
2.Can that property value have special characters as well in the end. If yes,do you want to fetch only non special characters?
3.And does the AppNumber property in countries pagelist have only 3 characters because indexinpagelist always does the exact match and returns the index
.AppNumber Ex: AppNumber=“BDE123-ABC” So I want to fetch last 3 characters of this which is “ABC”
No. This property value does not have any special characters. Just want to fetch last 3 characters every time.
No. AppNumber has many characters in addition to 3 character which I am trying to fetch. Ex: AppNumber=“BDE123-ABC” or AppNumber=“ERT123-ACC” So here last 3 characters I am trying to fetch i.e. ABC or ACC
I have changed a logic a bit. I have included substring function below, .Countries loop. So this will going to fetch the last 3 letters in the .AppNumber which is inside the current .Countries loop itself.
Thanks a lot @HariPriyaY for your responses. I appreciate that.