On Tue, 28 Jan 2003 02:03:32 -0800, Swami Anadi wrote:

> I am reading a line from a file and splitting it into
> a 2 dimensional array, this is no probs..
> BUT i want to get rid of " < > and , out of each line
> - how do i do this ???????

What do you mean with "ridding" " < > and , out.
It's always good to see an example, if we shall help you.

If you meant that these characters should be simple deleted from the line,
you can do something like:

$line =~ tr/"<>,//d;
#or
$line =~ s/["<>,]//g;


Greetings,
Janek

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

Reply via email to