I need to be more carefull what I ask for:)  Thanks for the 13 responses:)
I had acctually never heard of Chomp but I will give it a shot thanx all!

Regards,
Andre` C.
Technical Support
ԿԬ
----------------------------------------------------------------------------
-
Visit our support manual at http://supportmanual.com/
----- Original Message -----
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
To: "Andre` Niel Cameron" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 11:38 AM
Subject: Re: [CGI] Interesting Chop question.


> On Dec 12, Andre` Niel Cameron said:
>
> >I have a pain in the butt array that SOMETIMES has a CR at the end and
> >sometimes does not.  Can anyone think of a way to test to see if the \n
is
> >there and if it is then chop else no chop?  Cause if I just use chop then
it
> >starts chopping off letters sometimes...
>
> That's why chomp() exists.
>
> --
> Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
> RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
> ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
> <stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to