Question
Accenture
IN
Last activity: 31 Jan 2023 7:17 EST
Fetch the last 3 characters of a property value and pass as a parameter
Hi All,
I have a requirement to fetch last 3 characters of a property value and check if it matches in the current iteration of a Pagelist.
Ex: I have Param.LastThreeChar="ABC"
Param.ABCIndex=@IndexInPageList("Param.LastThreeChar",".AppNumber",.Countries)
But I want to pass the last three characters of .AppNumber property value into "Param.LastThreeChar" and then fetch its index.
How can pass a regular expression into Param.LasThreeChar? I tried holding Para,.LastThreeChar="^..*ABC$" but it is not working..
Is there any way to pass last 3 characters of a property value?
Thanks,
Sakhib Hussain
***Edited by Moderator Marije to add Capability tags***