http://qs321.pair.com?node_id=531461


in reply to Split a string to remove quotes and parentheses

You can try perl search/replace regexp:
$s = '("test123")'; $s =~ s/(\("|"\))//g; print "$s\n";
Will print:
test123


_____________________
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."

Robert Wilensky, University of California