in reply to Re: parsing and evaluating a stringin thread parsing and evaluating a string
$str =~ s/char\((\d+)\) ?/chr($1)/eg; [download]
Cheers,
JohnGG