$count=($str=~ tr/($t1)//);
if $t1 has ab. i just want to count how many times ab is their in $str. together. not as seperately 'a' 'b'.
What can be done for that..In reply to Re^2: counting inside the loop
by sarvan
in thread counting inside the loop
by sarvan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |