I am reading context from CSV file and the output is (String,Integer,String,Integer,Integer. etc...), I want create a scriptlet filter to match the 3rd value, the scriptlet filter starts something like this
FIL = ScriptletInput.math((\w+,\d+),(\w+))
ScriptletResult = FIL
Can any one help me to bulit the correct scriptlet filter please.
Re: Scriptlet filter
I'm not sure I completely understand what you are trying to accomplish. Perhaps some context would help. If you are just trying to get a specific column/row from the CSV then there are other ways available, such as using the "Table" filter.
Also, I'm assuming there are some typos in your post and it's actually supposed to be:
FIL = scriptletInput.match((\w+,\d+),(\w))
I say that because I believe 'scriptletInput' should be a String so .math would be invalid.