my $string = "(ein test)"; print substr($string, 1, -1);