One way is
        $string = 'context_config_file = "1298b";';
        $string =~ /"(.*)"/;
        $data = $1;


On 04 Jun 2001 13:41:03 -0400, Satheesh Ramakrishnan wrote:
> All,
> 
> How do I assign 1298b to some scalar variable from the string below.
> 
> context_config_file = "1298b";
> 
> Thanks,
> Satheesh.
--
Today is Setting Orange, the 9th day of Confusion in the YOLD 3167
P'tang!


Reply via email to