Parsing email names that have commas

To all,

I’m having a problem when an organization has decided to set up their email display name as Last Name, First Name. I’m getting this information from a calendar event with the goal of allowing the user to take meeting attendance.

So, I’ll get a list of names in the event with different formats like this: John Constantine, Wick, John, Falco, Shane,Thomas Anderson.

I can’t see to parse the individual entries without parsing every comma. Any ideas?

If that’s the string you’re getting, I’m afraid there might not be much you can do other than find another data source for the user like a unique ID (i.e. an email address). Then look up the names separately.

This topic was automatically closed after 70 days. New replies are no longer allowed.