Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Event Filters | Filter Strings | Filter Functions
 
Filter Functions
Several functions are provided by the webMethods Broker library that you may use within filter strings. These functions allow you to perform complex string operations, regular expression matches, and string to numeric conversions on event field values. Some examples of the use of functions within filter strings are shown below.
charAt(my_string_field,5) = 'A'
charAt("StringConstant",my_int_field) = 'n'
startsWith(toUpperCase(myfield)) = "FIRSTWORD"
toString(my_long_field) = "42"
toLong(my_string_field) = 42