strFind
Example:
str = "This is an example string"
idx1 = strFind(str, "example")
// idx1 is 8
idx2 = strFind(str, "not there")
// idx2 is -1
idx1 = strFind(str, "example")
// idx1 is 8
idx2 = strFind(str, "not there")
// idx2 is -1
Example:
//
// Trigger on the string "IEE136I" (the message id for the "D T" output)
// anywhere in the string
// trigger on strFind(message.TEXT, "IEE136I") >= 0 //
// Rest of the rule follows.
// Trigger on the string "IEE136I" (the message id for the "D T" output)
// anywhere in the string
// trigger on strFind(message.TEXT, "IEE136I") >= 0 //
// Rest of the rule follows.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*