The length function will calculate the length of a field. Use a comparison operator to filter.
The parameter to the length function is a field name. For example:
length(uri) > 20
Result: would return only results that included a uri field with a string length greater than 20.
Any field used in the length function will be treated as a string field. The right-hand side of a comparison must be a number.
Note
This function is only supported in rules. It will not work in search.