If you have an attribute which value consists of a comma-separated list of values, which would be the best way to retrieve some part of that value?
Example:
myAttribute: value1, value2, value3, value4
So far, I've used regular expressions to do this, but this seems wrong somehow (because I feel there could be a better solution).
I'm using Unboundid LDAP SDK for accessing the LDAP.