Stuart Clark wrote: > > Hi All > Is there an easier way of picking out the number 16764 in this line > rather that using an array, split then $number[3] > > I just want to get 16764 into $recievedmail > > Is the answer something like this > > $recievedmail = ($data)[3]; > > $data = "Received 921MB 16764 3955 375 2.2% 1296 7.7%";
($recievedmail) = $data =~ /\b(\d+)\b/; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]