Hi,

A very helpful member of this list assisted me in coming up with the
following:

substr ($fastaseq{$key}, rand (length $fastaseq{$key}), 3) = "";

This bit of code removes a single character, randomly, but not from the
very first 3. it does the removing from the values of %fastaseq.

I hope it helps you in some way, but I think you should definitely look
at the docs.

Regards, Aim.

=======================================================
"Kipp, James" wrote:

> >
> >
> > Hello.
> > I need to know how to remove a substring from a string and a how
> > to remove a simple character occurrence from a string. Thanks
> > in advance!
> > Christian.
> >
>
> perldoc -f substr
> perldoc -f splice
> perldoc perlre
>
>
> --
> 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