Hi, N
Could you provide more context what you're trying to accomplish with the expression?
Because I don't think its substringof - its substring.
Are you trying to find an email within a string?
If you know that the string always occurs between the third and fourth comma in a string, you could use nthIndexOf function to find the start position of the third comma, which would be the start of the email address, and then nthIndexOf again to find the position of the fourth comma to find the end of the string. Then you can use those values in the slice function to extract the email.
It would look something like this:
slice(varRequestor, nthIndexOf(varRequestor, ' ', 3), nthIndexOf(varRequestor, ' ', 4))
Essentially, this reads as 'slice the the var Requestor string starting at the third comma and ending at the fourth comma'.
Here's a link to documentation:
Good luck and let me know how it goes.