in reply to Re^3: remove first and last character of string
in thread remove first and last character of string

$s = substr $s, 1, -1;

Nice.
I didn't know that would work. I would have done it as:
$s = substr $s, 1, length($s) - 2;
But I've read the documentation, now ;-)

Cheers,
Rob