But to answer your question directly, to count the number of double-quote characters in a line, do this:
$count = ($line =~ y/"//);
In reply to Re: Counting number of double quotes in a string
by thelenm
in thread Counting number of double quotes in a string
by arajani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |