The ENUMERATE function passes each element in the specified set to the named expression specified by the parameter #virtual_user_attribute or @user_class using pasting. If the named expression returns a value, the element is included in the resulting string.
The ENUMERATE function has the following format:
ENUMERATE(set, #virtual_user_attribute | @user_class)
The ENUMERATE function accepts the following parameters:
set (string)
Specifies a string of elements that are separated by the caret character: 'element1^element2'. Each element is a string.
#virtual_user_attribute (named expression)
Specifies a named expression that calculates a user attribute.
@user_class (named expression)
Specifies a named expression that tests for membership in a user directory or group.
The ENUMERATE function returns a string.
Assume that the following statements are true:
Return_value=ENUMERATE('First ^Middle ^Last ', #RTrimset)
Return_value='First^Middle^Last'
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |