The following is the syntax for creating a substring value of a rule variable:
%var[:offset,length]%
Represents the name of the predefined rule variable as defined in the table shown previously.
(Optional) Defines the starting offset of the substring suffix. The number 1 represents the first character.
(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.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|