I’m trying to capture some page info to throw into header tags. i’m getting the data I want using this:
set field=“pageTitle” from=“sri.screenUrlInfo.extraPathNameList”
but the string I’m getting has some non-alpha characters in it. Specifically the left and right bracket [ ]
To experiment, I tried just getting rod of the alpha ‘a’ in the string.
set field=“pageTitle” from=“sri.screenUrlInfo.extraPathNameList.replaceAll(‘a’,’ ')”
I’ve tried several different permutations, but get the following error:
No signature of method: java.util.ArrayList.replaceAll() is applicable for argument types: (String, String) values: [a, ]
Is there a better way to manipulate string values once I’ve captured them in a field?