use warnings; use strict; my $text = "I think there's a quote in here..\n"; + my $p; substr( $text, $p - 1, 1 ) = '' while $p = index( $text, "'" ) + 1; + print $text;
In reply to Re: Removing Single Quote Problem
by phaylon
in thread Removing Single Quote Problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |