that will work. but shouldn't you be using sprintf() for this? > -----Original Message----- > From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 4:55 PM > To: Mat Harris; [EMAIL PROTECTED] > Subject: RE: chop ing > > > does > > $chopped_char = chop $netout_new; > > work ?? > > -----Original Message----- > From: Mat Harris [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 4:53 PM > To: [EMAIL PROTECTED] > Subject: chop ing > > > i know that chop returns the char chopped but how do i get > that into a var? > i want to be able to chop all numbers after decimal point > from a numeric > string. i thought something like this would work: > > while ($chopped_char ne "."){ > chop $netout_new; > $chopped_char = "how do i get this???" > } > > > cheers > > Matthew Harrison > Internet/Network Services Administrator > www.genestate.com > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]