in reply to Removing Single Quote Problem
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing Single Quote Problem
by Anonymous Monk on Feb 10, 2005 at 19:48 UTC | |
by phaylon (Curate) on Feb 10, 2005 at 19:56 UTC | |
by Roy Johnson (Monsignor) on Feb 10, 2005 at 22:01 UTC | |
by Anonymous Monk on Feb 10, 2005 at 21:36 UTC | |
by phaylon (Curate) on Feb 10, 2005 at 23:26 UTC | |
by Anonymous Monk on Feb 11, 2005 at 17:59 UTC |