I hope this will help u .
#! /usr/bin/perl use warnings; use strict; my $string = "The Expo is not the place to promote trade, this is abou +t culture,"; my $count = ($string =~ tr/,/ /); print $count;
In reply to Re: count special character
by changma_ha
in thread count special character
by bharatbsharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |