http://php.net/manual/en/function.substr-count.php
echo substr_count($vypis, 'Ano');
Zpět do poradny