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
$TheOriginalString =~ s/$StringOrCharToRemove//g;
Tor.
Christian Calónico 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.
>
> _
>
>
> 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 comma