Thank you!!
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 3:34 AM
To: [EMAIL PROTECTED]
Subject: Re: remove a char
Michael Gargiullo wrote:
>
> In an array say @randomWord
>
> The second position could contain one of a th
* Michael Gargiullo <[EMAIL PROTECTED]> [2002-03-29 07:26 +0100]:
> the words all end with a comma. How can I strip that comma?
chop;
--
Johannes Franken
Professional unix/network development
mailto:[EMAIL PROTECTED]
http://www.jfranken.de/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Michael Gargiullo wrote:
>
> In an array say @randomWord
>
> The second position could contain one of a thousand words, but the words all
> end with a comma. How can I strip that comma?
>
> I've tried using:
>
> $_=$randomWord[1];
> /(.*.),/;
> $randomWord[1] = $_;
>
> But this is not workin