$count = $line =~ tr/ACGT//; # count only the ACGT characters in $lin +e $line =~ tr/ACGT//cd; # remove all non-ACGT characters from $l +ine
In reply to Re: How to amend character count.
by Anonymous Monk
in thread How to amend character count.
by Peter Keystrokes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |