bharatbsharma has asked for the wisdom of the Perl Monks concerning the following question:
I have string such that -
“The Expo is not the place to promote trade, this is about culture,” however ,
I want to count the no. of double quote (which is 2 in this case). Is split function is only option? Can this not be handled by reg expression?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: count special character
by moritz (Cardinal) on Aug 18, 2010 at 08:54 UTC | |
by bharatbsharma (Acolyte) on Aug 18, 2010 at 10:48 UTC | |
|
Re: count special character
by Corion (Patriarch) on Aug 18, 2010 at 08:31 UTC | |
|
Re: count special character
by changma_ha (Sexton) on Aug 18, 2010 at 10:44 UTC |