@HspNthMbr

This function returns the nth member in the range provided.

Syntax

@HspNthMbr(MemberRange, PosIndex)
Parameter Description
MemberRange An array of string values
PosIndex A number for the location

Note

The return value is a string.

Example

This example returns the 6th member under the "Element Changes" parent of the Budget Item dimension in a Oracle Hyperion Public Sector Planning and Budgeting application HCP plan type.

@return(@name(@HspNthMbr(@name(@DESC("Element Changes")),6)),error);

This returns "6th Element Change".