in reply to Split a string to remove quotes and parentheses
You can try perl search/replace regexp:
_____________________
"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."
Will print:$s = '("test123")'; $s =~ s/(\("|"\))//g; print "$s\n";
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
In Section
Seekers of Perl Wisdom