looks like compression to me and DD < D!2

:)

Bret

Brian wrote:
> 
> On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote:
> 
> > Hi,
> >
> > Suppose I have a string of "AAAABCCCDD"
> > And I wanna use perl to convert this to A!4BC!3DD
> > what should I do ?
> > Is there a ready function (grep???) to achieve this ?
> 
> yes perl can do this.
> 
> their is no built in function to just magically transform as you have
> above.  It would take a little code.   Why is it:
> 
> AAAABCCCDD      A!4BC!3DD
> and not
> AAAABCCCDD      A!4BC!3D!2
> 
> I mean if its 1 character, just print it, if its two chars just print it?
> then if its more than 2 do the char!num thing?
> 
> >
> > Thanks for any help on this!!
> >
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
> >
> 
> -----------------------------------------------------
> Brian Feeny (BF304)     [EMAIL PROTECTED]
> 318-222-2638 x 109      http://www.shreve.net/~signal
> Network Administrator   ShreveNet Inc. (ASN 11881)
> 
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
begin:vcard 
n:Hughes;Bret 
tel;fax:918.587.0131
tel;work:918.587.0131
x-mozilla-html:FALSE
url:www.elevating.com
org:Elevating Communications Inc
adr:;;PO Box 1323;Tulsa;OK;74101-1323;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Solutionist/President
x-mozilla-cpt:;19888
fn:Bret  Hughes
end:vcard

Reply via email to