Hello, i need some help in removing my comma at the end of my pagelist how can i do it
Currently i have this line
param.result = param.result + param.citizenshiplistvalue +", "
in order to give me this result
Now i want to remove this highlight comma , at the end of my text how can i do it ?
I have try using @pxReplaceAllViaRegex(param.result,“,$”,“”) but it still give me a , in the end
@Tingw16594322 You can make use of ootb function
@Utilities.pyPropertyCSVFromPageList(.Subject.SecondaryCitizenshipList,“propname”)
@BhanuPrakash_G
Hi sry how does this help in my data transform ?
@Tingw16594322 You can avoid the manual looping ie., step1 and in step2 you can directly write this logic
.Subject.SecondaryCitDispList = @Utilities.pyPropertyCSVFromPageList(.Subject.SecondaryCitizenshipList,“propname”)
here propname is the name of the property which has the citizenship value eg.., YEMENI.