Help for this page

Select Code to Download


  1. or download this
    my $t = q["string (12" or 1 foot or 1') into 6" MySQL varchar"];
    $t =~ s/(?<=.)"(?=.)/""/g;
    
  2. or download this
    my $t = q["string (12" or 1 foot or 1') into 6" MySQL varchar"];
    substr($t, 1, -1) =~ s/"/""/g;