develooper Front page | perl.beginners | Postings from March 2002

remove a char

Thread Next
Michael Gargiullo
March 28, 2002 22:27
remove a char
Message ID:
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] = $_;

But this is not working, any sugestions?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About