This function takes the following parameters:
Filter from which you wish to get the substring values.
Pointer to the attribute type of the filter.
Pointer to the initial substring (“starts with”) of the filter.
Pointer to an array of the substrings (“contains”) for the filter.
Pointer to the final substring (“ends with”) of the filter.