I have a field named Responsibility in a user profile on sharepoint site which contains value like "abc; def; ghi". I want to read these values into an array. When i am using [propertyconstants.responsibility].value only abc is being read. How to read abc, def and ghi separately?
My code is:
string xpUser = up[PropertyConstants.Responsibility].Value.ToString();
string[] expUser = xpUser.Split(';');