March 20th, 2006, 12:48 PM
When I import names from Yahoo Mail, the data can be
"emailaddress" <emailaddress>
for a user for whom no first name / last name is defined. That's fine. Or,
"first last" <emailaddress>
Is the first, last order from Plaxo, or from Yahoo? In other words, can I depend on the first name always being first, last name being last, if they are available?
Also, I created a name in Yahoo with commas in both the first name and the last name, and the commas were stripped out. I'm fine with that, but would like to know if Yahoo is stripping it before it gets to the Plaxo Widget, or if the Widget is stripping the commas?
(In other words, can I assume that there will never be a comma inside the double-quotes for the name portion?)
What about double-quotes and angle brackets in names, etc.?
Where I'm going with this is I want to know if I can do a simple "split" on the comma to get an array of all of the individual addresses, or if I would have to write a smarter parser.
John
"emailaddress" <emailaddress>
for a user for whom no first name / last name is defined. That's fine. Or,
"first last" <emailaddress>
Is the first, last order from Plaxo, or from Yahoo? In other words, can I depend on the first name always being first, last name being last, if they are available?
Also, I created a name in Yahoo with commas in both the first name and the last name, and the commas were stripped out. I'm fine with that, but would like to know if Yahoo is stripping it before it gets to the Plaxo Widget, or if the Widget is stripping the commas?
(In other words, can I assume that there will never be a comma inside the double-quotes for the name portion?)
What about double-quotes and angle brackets in names, etc.?
Where I'm going with this is I want to know if I can do a simple "split" on the comma to get an array of all of the individual addresses, or if I would have to write a smarter parser.
John