$str =~ s/.*//; print 0; [download]
In reply to Re: Counting number of characters in a string by Falkkin in thread Counting number of characters in a string by jeffpflueger