Re: strip part of string

2009-05-10 Thread John Machin
On May 11, 1:34 am, MRAB wrote: > Francesco Pietra wrote: > > Hi: > > I would like to delete everything from column 54 on for each line > > beginning with "ATOM". In the example in the attachment (sorry for the > > attachment; I found no way with Google mail to have plain text mail) > > the new li

Re: strip part of string

2009-05-10 Thread John Machin
On May 11, 1:18 am, Francesco Pietra wrote: > Hi: > I would like to delete everything from column 54 on for each line > beginning with "ATOM". In the example in the attachment (sorry for the > attachment; I found no way with Google mail to have plain text mail) Many of your audience won't have se

Re: strip part of string

2009-05-10 Thread Steven D'Aprano
On Sun, 10 May 2009 17:18:51 +0200, Francesco Pietra wrote: > Hi: > I would like to delete everything from column 54 on for each line > beginning with "ATOM". In the example in the attachment (sorry for the > attachment; I found no way with Google mail to have plain text mail) the > new line would

Re: strip part of string

2009-05-10 Thread MRAB
Francesco Pietra wrote: Hi: I would like to delete everything from column 54 on for each line beginning with "ATOM". In the example in the attachment (sorry for the attachment; I found no way with Google mail to have plain text mail) the new line would become: ATOM 49 NH1 ARG84 84.

strip part of string

2009-05-10 Thread Francesco Pietra
Hi: I would like to delete everything from column 54 on for each line beginning with "ATOM". In the example in the attachment (sorry for the attachment; I found no way with Google mail to have plain text mail) the new line would become: ATOM 49 NH1 ARG84 84.628 41.570 44.395 witho