Hi Hubert , this is the small script which extracts anything between 2 "(" and ")" brackets. It maybe useful for others to know thats why sending it to mailing list.
Regards! -Dhiraj Nilange University of Pune. #starts here $a="xxxx xxxx xxxx xxxx(Jan 12 1990) anything"; @array; $i=0; $bracket=0; until($temp eq ")") { $temp=substr($a,$i,1); if($temp eq "(") { $bracket=1; } if($bracket==1) { $array[$i]=$temp; } $i++; } print @array; #ends here -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]