CDF @CalcMgrSubstring

since essbase

Returns a new string that is a substring of this string.
The substring begins at the specified startIndex and extends to the character at index endIndex – 1.
Thus the length of the substring is endIndex-startIndex.
If the endIndex is less than zero, then endIndex will be the index of the last character
@CalcMgrSubstring2(text, startIndex, endIndex)