in reply to Test if string is already quote()'d?
of course you would change the regular expersion to only match strings that BEGIN and END with quotes. Hope that helpsif ($string =~ /\"/) { Quoted } else { Unquoted }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Test if string is already quote()'d?
by Anonymous Monk on Jun 15, 2003 at 01:35 UTC | |
by demerphq (Chancellor) on Jun 15, 2003 at 14:54 UTC | |
by Seumas (Curate) on Jun 17, 2003 at 23:15 UTC | |
by sgifford (Prior) on Jun 15, 2003 at 17:43 UTC | |
by meonkeys (Chaplain) on Jun 15, 2003 at 18:14 UTC |