[ic] How do I chop a string?

Jason Feingold jason_feingold@hotmail.com
Sun, 15 Apr 2001 15:31:48

in perl try using chomp or chop, check the docs. I dont know how to use 

>From: "Rene Hertell" <rene@hertell.com>
>Reply-To: interchange-users@lists.akopia.com
>To: "Interchange-Users" <interchange-users@minivend.com>
>Subject: [ic] How do I chop a string?
>Date: Sun, 15 Apr 2001 16:29:09 +0300
>MIME-Version: 1.0
>Received: from [] by hotmail.com (3.2) with ESMTP id 
>MHotMailBCA2ED8000B74004310BC70620A0408D0; Sun Apr 15 06:30:53 2001
>Received: from ns.minivend.com (localhost [])by mail.minivend.com 
>(8.9.3/8.9.3) with ESMTP id JAA25793;Sun, 15 Apr 2001 09:30:33 -0400
>Received: from virtual.netsonic.fi (root@virtual.netsonic.fi 
>[])by mail.minivend.com (8.9.3/8.9.3) with ESMTP id 
>JAA25774for <interchange-users@minivend.com>; Sun, 15 Apr 2001 09:30:30 
>Received: from rene2k (tuubi86.adsl.netsonic.fi [])by 
>virtual.netsonic.fi (8.9.3/8.9.3) with SMTP id QAA27454for 
><interchange-users@minivend.com>; Sun, 15 Apr 2001 16:30:22 +0300
>From interchange-users-admin@lists.akopia.com Sun Apr 15 06:32:43 2001
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Importance: Normal
>Sender: interchange-users-admin@lists.akopia.com
>Errors-To: interchange-users-admin@lists.akopia.com
>X-Mailman-Version: 1.1
>Precedence: bulk
>List-Id: Interchange Users (high volume) 
>X-BeenThere: interchange-users@lists.akopia.com
>X-MIME-Autoconverted: from 8bit to quoted-printable by mail.minivend.com id 
>Hi list,
>I'm having a field that contains values inserted by users. My problem is
>that when I'm displaying these values, my site-layout will get broken.
>I could copy the value to a scratch variable, and cut off everything after
>the first space, or eg. the 10th character, but I'm not good at this at all
>I'm sure this is easy, but I'm a novice in Perl, so this causes too much
>headache for me...
>Regards, René
>Interchange-users mailing list

Get your FREE download of MSN Explorer at http://explorer.msn.com