HI,
I got the attachment that you sent me directly, and it didn't help much.
>From the code, I see that the fields are tab delimited, but when I looked at
the attachment, they'd been expanded to multiple spaces.
Based on what I did see, and what you want, I think the line below will get
out what you want. You will have to adjust the subscripts to get the correct
fields.
my ($id,$branch,$Addr)=(split "\t",$line)[0,4,31];
This will do the split exactly as before, but will then only spit out the
three fields you want.
Gary
On Thursday 21 June 2001 10:40 am, Govinderjit Dhinsa wrote:
> Morning,
> I have made a attachment in word, to make it slightly easier for you to see
> the 'data items' in the file.
>
> There are two examples, but they are suppose to all be on one line.
> However I couldn't get the examples on one line for you to see, sorry!
>
> All the spaces between the items are correct.
>
> Also I put a program in the attachment on page2, Question: what would have
> to be changed, so that I only get back only the 3 data items that I need
> please!
> <<DATA_ITEAMS.doc>>
>
> Thanks
>
> Kind Regards,
> GD
----------------------------------------
Content-Type: application/msword; name="DATA_ITEAMS.doc"
Content-Transfer-Encoding: base64
Content-Description:
----------------------------------------
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000