Rule Substrings

The following is the syntax for creating a substring value of a rule variable:
cim1265
The following is the syntax for creating a substring value of a rule variable:
%var[:offset,length]%
  • var
    Represents the name of the predefined rule variable as defined in the table shown previously.
  • offset
    (Optional) Defines the starting offset of the substring suffix. The number 1 represents the first character.
  • length
    (Optional) Defines the ending offset of the substring suffix. A length value of asterisk (*) indicates to the end of the value.
For example, to set an account attribute to the first 4 characters of a global user's Building attribute, use the following to define the variable:
%UB:1,4%
If the Building attribute is empty or has fewer than four characters, the resulting account attribute value will have fewer than four characters.