[Tutor] Better way to remove lines from a list?

Peter Otten __peter__ at web.de
Wed May 13 14:04:10 EDT 2020


boB Stepp wrote:

> On Tue, May 12, 2020 at 11:59:18PM +0200, Peter Otten wrote:
>>boB Stepp wrote:

>>I doubt that the extra stuff in the ADR lines is illegitimate and think
>>that the best solution would be to find a tool that can parse the data
>>as-is.
> 
> I have to disagree about the illegitimacy of the data.

After looking around a bit I've found no hints that you can add extra parts.
It looks like you're right.

>># assuming that the colon after one of your ADRs is a typo
> 
> That eighth semicolon is no typo.  That is a direct copy and paste from a
> Google contacts export in vCard format.

>>> ADR:100;;4700 E McCain Blvd;North Little Rock;AR;72117;US;4700 E McCain

I meant the ":" after "ADR" in the line above, not the ";" after US in

>>> ADR;TYPE=HOME:;;11601 Southridge Dr;Little Rock;AR;72212-1733;US;11601





More information about the Tutor mailing list