SAIL expression for finding any of a set of characters within a string variable

Hi all,

I am looking for SAIL functions or logic I can use to find any of multiple characters within a string variable.

I have three variables as follows -

a!localVariables(


local!userInput: "Sample user input",
local!charactersOfInterest: {"+", "$", "£", "€", "%"},
local!isFoundCharacterOfInterest:  -TRUE if any of the characters in local!charactersOfInterest are found in local!userInput, otherwise FALSE.-
.

.

Any ideas how search local!userInput for any of the characters in local!charactersOfInterest and return true if any of the characters are found, otherwise return false?

Thanks

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data