Re: String removal

2003-03-28 Thread Aim
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

Re: String removal

2003-03-27 Thread Victor Tsang
$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. > > _

RE: String removal

2003-03-27 Thread Kipp, James
> > > 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