This function takes the following parameters:
Filter from which you wish to get the substring values.
Pointer to the attribute type of the filter.